npm / css-loader
css-loader
What changed in css-loader 7, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-18.
1 tooling4 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initcss-loader 75 changes
Tooling 1
Updates the peer dependency to support @rspack/core v2.
Fixes and other changes 4
Strips a BOM before processing with PostCSS, preventing it from interfering with CSS processing.
Uses the official
createHashfor hashes.Uses the official
hash*options for hashes.Allows
moduleto be used as a CSS class name.