Archived
2
0
This repository has been archived on 2024-06-24. You can view files and clone it, but cannot push or open issues or pull requests.
neko-custom/client/vue.config.js

28 lines
479 B
JavaScript
Raw Permalink 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,
2022-11-20 04:01:57 +13:00
},
2020-01-13 21:05:38 +13:00
}