neko/client/vue.config.js

28 lines
476 B
JavaScript
Raw Normal View History

2020-01-20 14:36:18 +00:00
const path = require('path')
2020-01-13 08:05:38 +00:00
module.exports = {
2020-02-10 07:13:40 +00:00
productionSourceMap: false,
2020-01-13 08:05:38 +00:00
css: {
loaderOptions: {
sass: {
2021-03-28 19:44:43 +00:00
additionalData: `
2020-01-13 08:05:38 +00:00
@import "@/assets/styles/_variables.scss";
`,
},
},
},
2021-03-10 22:08:04 +01:00
publicPath: './',
2021-03-10 22:34:27 +01:00
assetsDir: './',
2020-01-20 14:36:18 +00:00
configureWebpack: {
resolve: {
alias: {
2020-02-02 22:52:07 +00:00
vue$: 'vue/dist/vue.esm.js',
2020-01-20 14:36:18 +00:00
'~': path.resolve(__dirname, 'src/'),
},
},
},
2021-04-03 15:59:34 +02:00
devServer: {
2023-01-28 21:54:26 +01:00
allowedHosts: 'all',
2022-11-19 16:01:57 +01:00
},
2020-01-13 08:05:38 +00:00
}