Created by: andriijas
This draft PR aims to integrate webpack 5 into create-react-app
.
Integration is currently in early stages and not ready to for community testing yet as there are a couple of tasks to resolve before we have first successful builds. Thank you for your patience!
11/05/2019 Initial draft PR
Internal work
Description | Commit | |
---|---|---|
|
Make sure to use mode
|
(we do since webpack 4) |
|
Upgrade webpack to webpack 5 | https://github.com/facebook/create-react-app/commit/1ae2d5dbcdc22b692c33d8dd9a37f9c75ce7c873 |
|
Remove futureEmitAssets | https://github.com/facebook/create-react-app/commit/7eabe2ac800a9e95d1fd5b329378d6750aacf3cf |
|
Update IgnorePlugin arg sig | https://github.com/facebook/create-react-app/commit/86b22005dda963692febf6d725d45e2d384c54f0 |
|
Adjust webpack to automatic node polyfill removal (rebase #7914) | https://github.com/facebook/create-react-app/commit/426e6ce0d12b81bdb0687efdfe6a4653ae71921f |
Upgrade all plugins and loaders to latest version | ||
Make sure build has no errors or warnings | ||
Remove deprecation warnings during build | ||
Update outdated options | ||
Cleanup configuration |
External work
Description | Link | |
---|---|---|
mini-css-extract-plugin compatibility | https://github.com/webpack-contrib/mini-css-extract-plugin/pull/458 |