A toolkit for React, Preact, Inferno & vanilla JS apps, React libraries and other npm modules for the web, with no configuration (until you need it)
OTHER License
Bot releases are visible (Hide)
Dependencies:
Added:
nwb init
command - same as nwb new
but creates a project in the current directory and uses the directory name by default [#25]web-app
project type - this is for anyone who wants to use nwb's build/serve/test setup but isn't using React [#24]--reload
option to auto-reload the page when webpack hot module replacement gets stuck. This is primarily intended for use with the new web-app
project type.nwb new
.Fixed:
Changed:
nwb help
output.jsNext
setting in nwb.config.js
, defaulting to true
[#27]
jsNext
to true
and log a warning when it's missing from a config file - this behaviour will be removed in nwb 0.7.Dependencies:
New help output screenshots on Windows and Linux:
Added:
config
object in their nwb.config.js
loaders
configuration. This is intended for loaders which can't use serialisable query
config due to plugins, such as some CSS preprocessors [#18]Fixed:
files
config from template package.json
was being used when packing nwb for publishing. Renamed them to _package.json
to avoid this [#22]Changed:
Dependencies:
_
Map
, Set
and circular comparison fixesFixed:
files
config from package.json
in templates for React components/web modules and applying it when packing nwb itself for publishing [#21]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]"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]files
config to React component/web module package.json
templates.
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.jsnext:main
in project template package.json
for use by tree-shaking ES6 bundlers.Fixed:
main
config to React component/web module package.json
templates, pointing at the ES5 build in lib/
.Changed:
Added:
Changed:
Fixed:
First release of the rewrite.
See the README for quick start examples and the Documentation for everything else.