Added
- Support for Webpack's
--env
option, allowing to pass custom params.
Changed
- Use Webpack's
--env
option instead ofNODE_ENV
as primary method for setting the environment. .getConfig()
method now returns a fat arrow function which receives Webpack's--env
option.env
option now accepts anObject
.commonEnvName
option is nowcommonEnvId
.