Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
webpack.prod.js erweitern und die environment Variable erweitern
...
module.exports = function (env) {
console.log("Übergabe Parameter")
console.log(env);
var environment = { env : ENV };
if(env !== undefined && env["appname"] !== undefined) {
environment.appname = env.appname;
}
return webpackMerge(commonConfig(environment), {
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.