tethys.frontend/vue.config.js
Arno Kaimbacher 2c0c67cd64 - add further views
- also use constants via Webpack DefinePlugin
2021-11-30 15:26:40 +01:00

24 lines
633 B
JavaScript

const webpack = require('webpack');
module.exports = {
publicPath: "/",
// chainWebpack: config => {
// config
// .plugin('define')
// .tap(args => {
// args[0] = {
// ...args[0],
// VUE_APP_PORTAL: JSON.stringify(process.env.PORTAL),
// // other stuff
// }
// return args
// })
// },
configureWebpack: {
plugins: [
new webpack.DefinePlugin({
VUE_APP_PORTAL: JSON.stringify(process.env.VUE_APP_PORTAL),
}),
],
},
}