8.0.0: Webpack 5 & React 17
Changes
- Update
.node-version
to latest LTS version 14.15.4 (no code changes required) - Upgrade minor and patch dependency versions with
yarn upgrade-interactive
(no code changes required) - Upgrade react and react-dom to 17.0.1 (no code changes required)
- Following Webpack's guide for migrating to v5
- Upgrade webpack-manifest-plugin to 3.0.0
- Now exports a named
WebpackManifestPlugin
instead of the default export (see bb40baf)
- Now exports a named
- Upgrade webpack to 5.21.2
- Changed the static files module rule to use Webpack's Asset Modules rather than manually using file-loader (see d129404)
- Removed file-loader
- Upgrade webpack-manifest-plugin to 3.0.0
Upgrade instructions (more info)
Merge upstream changes
First, configure this repo as a remote for your repo (you only need to do this once)
git remote add template https://github.com/bensmithett/tropical.git
Then fetch & merge the latest changes, resolving any conflicts manually:
git fetch template
git merge template/master
or...
Manually update your code
- Update
.node-version
to latest LTS version 14.15.4 (no code changes required) - Upgrade minor and patch dependency versions with
yarn upgrade-interactive
(no code changes required) - Upgrade react and react-dom to 17.0.1 with
yarn upgrade react@latest react-dom@latest
(no code changes required) - Following Webpack's guide for migrating to v5
- Upgrade webpack-manifest-plugin to 3.0.0 with
yarn upgrade webpack-manifest-plugin@latest
- Now exports a named
WebpackManifestPlugin
instead of the default export (see bb40baf)
- Now exports a named
- Upgrade webpack to 5.21.2 with
yarn upgrade webpack@latest
- Change the static files module rule to use Webpack's Asset Modules rather than manually using file-loader (see d129404)
- Remove file-loader with
yarn remove file-loader
- Upgrade webpack-manifest-plugin to 3.0.0 with