Split webpack config into a file for production and development
Our webpack file grew to one big confusing file with a lot of switches and options based on environment variables.
We probably can reduce the size and complexity by splitting it into three files:
config/webpack/common.js
config/webpack/development.js
config/webpack/production.js
Thanks @brodock for the suggestion