Skip to content

v0.4.0

Compare
Choose a tag to compare
@insin insin released this 11 Dec 02:14
· 1023 commits to master since this release

Added:

  • Added --fallback option to nwb 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"} to package.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 module package.json templates.
    • The files config for the React component template assumes that components published to npm with require() calls for CSS which ships with it will use a css/ dir.
  • Added a default ES6 build with untranspiled ES6 module usage [#15]
    • This is pointed to by jsnext:main in project template package.json for use by tree-shaking ES6 bundlers.

Fixed:

  • Added missing main config to React component/web module package.json templates, pointing at the ES5 build in lib/.
  • Express middleware wasn't included in npm package.

Changed:

  • 1.0.0 is now the default version for template projects.