Created
July 7, 2017 20:48
-
-
Save squadwuschel/d421c8e4b5360cab8dbe8ab01e5f0b19 to your computer and use it in GitHub Desktop.
webpack.prod.js erweitern und die environment Variable erweitern
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
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