neko/vue.config.js

26 lines
435 B
JavaScript
Raw Normal View History

2020-11-05 23:56:26 +13:00
const path = require('path')
module.exports = {
productionSourceMap: false,
css: {
loaderOptions: {
sass: {
prependData: `
@import "@/assets/styles/_variables.scss";
`,
},
},
},
configureWebpack: {
resolve: {
alias: {
vue$: 'vue/dist/vue.esm.js',
'~': path.resolve(__dirname, 'src/'),
},
},
},
devServer: {
disableHostCheck: true
}
}