using app_env to define the api path

This commit is contained in:
2020-07-14 18:11:13 +02:00
parent 14beb796ea
commit 8e63738597
4 changed files with 21 additions and 2 deletions
+4 -1
View File
@@ -58,6 +58,9 @@ module.exports = merge(baseConfig, {
},
plugins: [
new webpack.HotModuleReplacementPlugin()
new webpack.HotModuleReplacementPlugin(),
new webpack.DefinePlugin({
"process.env": "'dev'"
})
]
})