tethys.frontend/vue.config.js

24 lines
633 B
JavaScript
Raw Normal View History

const webpack = require('webpack');
2021-11-17 11:03:44 +00:00
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),
}),
],
},
2021-11-17 11:03:44 +00:00
}