24 lines
557 B
JavaScript
24 lines
557 B
JavaScript
const path = require('path');
|
|
|
|
const { defineConfig } = require('@vue/cli-service')
|
|
module.exports = defineConfig({
|
|
transpileDependencies: true,
|
|
outputDir: path.resolve('../aircox/static/aircox'),
|
|
publicPath: './',
|
|
runtimeCompiler: true,
|
|
filenameHashing: false,
|
|
|
|
css: {
|
|
extract: true,
|
|
loaderOptions: {
|
|
sass: { sourceMap: true },
|
|
}
|
|
},
|
|
|
|
pages: {
|
|
public: { entry: 'src/public.js' },
|
|
dashboard: { entry: 'src/dashboard.js' },
|
|
admin: { entry: 'src/admin.js' },
|
|
}
|
|
})
|