nwb v0.4.0 Release Notes

Release Date: 2015-12-11 // over 8 years ago
  • 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 [#19]
    • ➕ Added files config to React component/web module skeleton package.json.
      • The files config for the React component skeleton 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 skeleton package.json for use by tree-shaking ES6 bundlers.

    🛠 Fixed:

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

    🔄 Changed:

    • 0️⃣ 1.0.0 is now the default version for project skeletons.