Exclude module from webpack minification
Webpack externals are a good option to avoid bundle certain dependencies. However we need to exclude the config.js from minification so that it can be overwritten as part of the deployment process. Adding a dependency as external not only excludes it from minification but it is not even resolved by webpack. webpack.config.js var webpack = … Read more