2021-11-30 14:26:40 +00:00
|
|
|
const webpack = require('webpack');
|
|
|
|
|
2021-11-17 11:03:44 +00:00
|
|
|
module.exports = {
|
2021-11-30 14:26:40 +00:00
|
|
|
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),
|
|
|
|
}),
|
|
|
|
],
|
|
|
|
},
|
2021-11-17 11:03:44 +00:00
|
|
|
}
|