v0.4.0
Added:
- Added
--fallback
option tonwb serve
, for serving the index page from any path when developing React apps which use the HTML5 History API [#16] - Added
"engines": {"node": ">=4.0.0"}
topackage.json
- nwb accidentally depends on this because it uses qs v6 - if it's a problem for you, please create an issue [#19] - Added
files
config to React component/web modulepackage.json
templates.- The
files
config for the React component template assumes that components published to npm withrequire()
calls for CSS which ships with it will use acss/
dir.
- The
- Added a default ES6 build with untranspiled ES6 module usage [#15]
- This is pointed to by
jsnext:main
in project templatepackage.json
for use by tree-shaking ES6 bundlers.
- This is pointed to by
Fixed:
- Added missing
main
config to React component/web modulepackage.json
templates, pointing at the ES5 build inlib/
. - Express middleware wasn't included in npm package.
Changed:
- 1.0.0 is now the default version for template projects.