1760
Comment:
|
1822
|
Deletions are marked like this. | Additions are marked like this. |
Line 4: | Line 4: |
1. Now `entry`, `output` and `mode` options are mandatory | 1. Now `entry`, `output` options on command line are mandatory and we get a warning if `mode` option is not specified. |
Webpack 4 is available in experimental.
Major changes
Now entry, output options on command line are mandatory and we get a warning if mode option is not specified.
production and development are new modes and each has its on default options. production mode does minify by default. Both modes are supported in the debian package now (production mode was not working initially due to uglify-es to terser patch not working correctly).
entry option in command line may need ./ prefix to file path. See node-turbolinks commit.
Examples
Check node-d3-request (commit)
TODO
Investigate test failures and fix or disable failing tests -- help needed.
Involved packages
Command used to find the list: reverse-depends -b webpack
Already compatible with webpack 4 (tested rebuild)
- node-handlebars
Ready in unstable
- node-rollup-plugin-alias (switched to rollup)
Ready in experimental
- node-d3-scale
- node-d3-request
- node-turbolinks
Ready in git
Not checked
- jekyll
- leaflet-image
- node-axios
- node-chai
- node-d3-queue
- node-dagre-layout
- node-es6-promise
- node-fuzzaldrin-plus
- node-js-beautify
- node-jschardet
- node-jsonld
- node-markdown-it-html5-embed
- node-matrix-js-sdk
- node-mocha
- node-node-forge
- node-prop-types
- node-rdf-canonize
- node-react-audio-player
- node-source-map
- node-timeago.js
- node-trust-json-document
- node-url-parse
- node-vue-resource
- node-yarnpkg
- rainloop
- vue.js