aircox/assets/vue.config.js
2022-03-18 02:53:54 +01:00

23 lines
508 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: {
core: { entry: 'src/core.js', },
admin: { entry: 'src/admin.js' },
}
})