nwb v0.19.1 Release Notes
Release Date: 2017-11-04 // over 6 years ago-
nwb.config.js
Config Changes- โฌ๏ธ Deprecated the
webpack.compat.enzyme
flag for Enzyme v2 compatibility settings. Upgrade to Enzyme v3 when you can, which supports React all the way back to v0.13.- An example of configuring Enzyme v3 has been added to the testing docs.
๐ Fixed
- โ Added
'createClass'
and'createReactClass'
to the factory function names React Transform looks for, so React component hot reloading will work for apps usingcreate-react-class
imported as one of those names.
๐ Changed
- โ nwb is now also tested against Node 8 now that it's the Long Term Support version.
- ๐ฆ Reverted the Webpack settings change for
webpack.compat.enzyme
config in v0.19.0, as it only applied while the version numbers of published React packages were out of sync. The compatibility settings assume Enzyme v2 and React >= v15.5. - ๐
style-loader
's newhmr
option is set tofalse
when creating builds to prevent inclusion of its HMR code.
Dependencies
- autoprefixer: v7.1.4 โ v7.1.6
- ๐ babel-plugin-inferno: v3.2.0 โ v3.3.0
- ๐ babel-plugin-transform-react-remove-prop-types: v0.4.8 โ v0.4.10
- babel-preset-env: v1.6.0 โ v1.7.0
- chalk: v2.1.0 โ v2.3.0
- ๐ copy-webpack-plugin: v4.1.0 โ v4.2.0
- ๐ extract-text-webpack-plugin: v3.0.0 โ v3.0.2
- file-loader: v1.1.4 โ v1.1.5
- filesize: v3.5.10 โ v3.5.11
- karma-mocha-reporter: v2.2.4 โ v2.2.5
- karma-webpack: v2.0.4 โ v2.0.5
- phantomjs-prebuilt: v2.1.15 โ v2.1.16
- postcss-loader: v2.0.6 โ v2.0.8
- ๐ป resolve: v1.4.0 โ v1.5.0
- ๐ style-loader: v0.18.2 โ v0.19.0
- url-loader: v0.5.9 โ v0.6.2
- ๐ webpack: v3.6.0 โ v3.8.1
- ๐ webpack-dev-server: v2.9.1 โ v2.9.4
- webpack-hot-middleware: v2.19.1 โ v2.20.0
- ๐ webpack-merge: v4.1.0 โ v4.1.1
- โฌ๏ธ Deprecated the