Closed rstacruz closed 2 years ago
This updates the docs to not suggest a Webpack 4 plugin (webpack-fix-style-only-entries) for a Webpack 5 setup.
The webpack-fix-style-only-entries recommended by the guide is not compatible with Webpack 5. Another plugin, webpack-remove-empty-scripts, is a drop-in replacement that works on Webpack 5.
This is what happens with webpack-fix-style-only-entries:
This is the notice on the webpack-fix-style-only-entries repo:
This updates the docs to not suggest a Webpack 4 plugin (webpack-fix-style-only-entries) for a Webpack 5 setup.
Background
The webpack-fix-style-only-entries recommended by the guide is not compatible with Webpack 5. Another plugin, webpack-remove-empty-scripts, is a drop-in replacement that works on Webpack 5.
Screenshots
This is what happens with webpack-fix-style-only-entries:
This is the notice on the webpack-fix-style-only-entries repo: