I\'m trying to convert an angular app from gulp to webpack. in gulp I use gulp-preprocess to replace some variables in the html page (e.g. database name) depending on the NO
I'm not a huge fan of...
new webpack.DefinePlugin({ 'process.env': envVars }),
...as it does not provides any type of security. instead, you end up boosting your secret stuff, unless you add a webpack to gitignore