v0.18.0
0.18.0 / 2017-06-20
Breaking Changes
-
Updated to Webpack 3 - potentially breaking for some plugins [#326]
See the official release post for changes.
-
Removed support for configuration which was deprecated in nwb v0.15.0.
Fixed
- Fixed display of user config errors when running the dev server.
Added
-
Added
webpack.hoisting
config to enable use of Webpack 3's newModuleConcatenationPlugin
for scope hoisting in production builds [#326] -
babel
,webpack
,devServer
,karma
andnpm
configuration can now be provided via arguments using dotted paths [#327]nwb react build app.js \ --babel.plugins=react-html-attrs \ --babel.stage=2 \ --webpack.hoisting
If you have a config file, arguments will override properties in it. This is primarily intended for one-off feature toggles without having to edit your config file, and to provide some level of configuration for quick development commands without needing a config file.
Changed
babel.plugins
,babel.presets
and locales inwebpack.compat
config now also accept single configuration as a String to make them usable via arguments [#327]