Skip to content

Commit

Permalink
Tweak CHANGES
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
insin committed Feb 25, 2016
1 parent 0769511 commit bd8e425
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,23 +113,23 @@
}
```

*Other changes:*
**Changes:**

- `nwb.config.js` is now only required when running generic build commands: `build`, `clean`, `serve`, `test`
- `type` config is only required when running a generic build command, but if provided it must be valid.
- Karma tests now always run just once in a CI environment regardless of the `--server` flag - this allows you to use `--server` in your default `npm test` command if you want to, without needing a separate run script for CI.
- Development instructions in project templates were moved from `README.md` to a `CONTRIBUTING.md` file, and are now documented using `npm` and `npm run` commands instead of global `nwb` commands.
- All commands are now run in the current working directory - you no longer need to `require.resolve()` full paths to extra Babel plugins configured in `nwb.config.js`, just use their names as normal and Babel will now be able to import them.
- Upgraded to PhantomJS v2 for Karma tests.
- Babel polyfills are no longer included Webpack config for Karma, as PhantomJS v2 uses a more recent version of WebKit.
- Babel polyfills are no longer included in Webpack config for Karma, as PhantomJS v2 uses a more recent version of WebKit.

**Added:**

- Project type-specific versions of the `build`, `clean` and `serve` commands are now officially documented for direct use.
- Extra webpack config can now be configured via a `webpack.extra` Object.
- To support adding other webpack built-in plugins via `extra`, if a function is exported from `nwb.config.js`, it will now be called with an object containing the following properties:
- `command` - the nwb command being executed
- `webpack` - the webpack module (for configuring extra plugins using nwb's version of webpack)
- Project type-specific versions of the `build`, `clean` and `serve` commands are now officially documented for direct use.
- A `test:watch` npm script was added to project template `package.json`.

**Dependencies:**
Expand Down

0 comments on commit bd8e425

Please sign in to comment.