neko/client/vue.config.js

23 lines
389 B
JavaScript
Raw Normal View History

2020-01-21 03:36:18 +13:00
const path = require('path')
2020-01-13 21:05:38 +13:00
module.exports = {
2020-02-10 20:13:40 +13:00
productionSourceMap: false,
2020-01-13 21:05:38 +13:00
css: {
loaderOptions: {
sass: {
prependData: `
@import "@/assets/styles/_variables.scss";
`,
},
},
},
2020-01-21 03:36:18 +13:00
configureWebpack: {
resolve: {
alias: {
2020-02-03 11:52:07 +13:00
vue$: 'vue/dist/vue.esm.js',
2020-01-21 03:36:18 +13:00
'~': path.resolve(__dirname, 'src/'),
},
},
},
2020-01-13 21:05:38 +13:00
}