Semaphore/web/vue.config.js

26 lines
500 B
JavaScript
Raw Normal View History

2020-10-03 13:39:33 +02:00
module.exports = {
2022-06-29 23:59:48 +02:00
configureWebpack: {
devServer: {
historyApiFallback: true,
proxy: {
'^/api': {
target: 'http://localhost:3000',
},
},
2022-06-29 23:59:48 +02:00
},
},
2020-11-24 13:26:02 +01:00
chainWebpack: (config) => {
config.plugin('html')
.tap((args) => {
// eslint-disable-next-line no-param-reassign
args[0].minify = false;
return args;
});
},
2020-10-03 13:39:33 +02:00
transpileDependencies: [
'vuetify',
],
2021-08-30 07:53:48 +02:00
publicPath: './',
outputDir: '../api/public',
2020-10-03 13:39:33 +02:00
};