2020-10-03 13:39:33 +02:00
|
|
|
module.exports = {
|
2022-06-29 23:59:48 +02:00
|
|
|
configureWebpack: {
|
|
|
|
devServer: {
|
|
|
|
historyApiFallback: true,
|
2024-02-05 22:14:40 +01:00
|
|
|
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: './',
|
2024-02-26 12:03:38 +01:00
|
|
|
outputDir: '../api/public',
|
2020-10-03 13:39:33 +02:00
|
|
|
};
|