neko/vue.config.js

22 lines
415 B
JavaScript
Raw Normal View History

2020-11-05 23:56:26 +13:00
const path = require('path')
module.exports = {
productionSourceMap: false,
configureWebpack: {
resolve: {
alias: {
vue$: 'vue/dist/vue.esm.js',
'~': path.resolve(__dirname, 'src/'),
},
},
},
devServer: {
2022-05-15 05:25:22 +12:00
allowedHosts: "all",
2020-11-30 04:14:09 +13:00
proxy: {
'^/api': {
2021-01-28 02:57:16 +13:00
target: 'http://' + process.env.NEKO_HOST + ':' + process.env.NEKO_PORT + '/',
2020-11-30 04:14:09 +13:00
},
},
2020-11-30 03:50:08 +13:00
},
2020-11-05 23:56:26 +13:00
}