Skip to content

Conversation

digitalcora
Copy link
Contributor

@digitalcora digitalcora commented Aug 25, 2025

Upgrades Webpack plus all loaders and plugins. Most breaking changes do not affect us, but there are a few:

  • optimize-css-assets-webpack-plugin is not available for Webpack 5. The replacement for this is css-minimizer-webpack-plugin.

  • file-loader is deprecated in Webpack 5, in favor of Asset Modules.

  • resolve.alias was apparently case-insensitive in Webpack 4 but is case-sensitive in 5, allowing a css/... import through that should have been CSS/....

Upgrades Webpack plus all loaders and plugins. Most breaking changes do
not affect us, but there are a few:

* `optimize-css-assets-webpack-plugin` is not available for Webpack 5.
  The replacement for this is `css-minimizer-webpack-plugin`.

* `file-loader` is deprecated in Webpack 5, in favor of
  [Asset Modules](https://webpack.js.org/guides/asset-modules/).

* `resolve.alias` was apparently case-insensitive in Webpack 4 but is
  case-sensitive in 5, allowing a "css/..." import through that should
  have been "CSS/...".
@digitalcora digitalcora marked this pull request as ready for review August 25, 2025 20:23
@digitalcora digitalcora requested a review from a team as a code owner August 25, 2025 20:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant