neko/client/vue.config.js

28 lines
478 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: {
2021-03-29 08:44:43 +13:00
additionalData: `
2020-01-13 21:05:38 +13:00
@import "@/assets/styles/_variables.scss";
`,
},
},
},
2021-03-11 10:08:04 +13:00
publicPath: './',
2021-03-11 10:34:27 +13:00
assetsDir: './',
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/'),
},
},
},
2021-04-04 02:59:34 +13:00
devServer: {
disableHostCheck: true,
}
2020-01-13 21:05:38 +13:00
}