Skip to content

Fix stylesOverlay CSS module handling#877

Merged
ecraig12345 merged 1 commit into
mainfrom
style-fix
Jun 15, 2026
Merged

Fix stylesOverlay CSS module handling#877
ecraig12345 merged 1 commit into
mainfrom
style-fix

Conversation

@ecraig12345

Copy link
Copy Markdown
Member

Properly handle the CssLoaderOptions.modules option in stylesOverlay:

  • By default (modules unset), behavior depends on the presence of the *.module.[s]css extension.
  • With modules: false, no files are treated as CSS modules
  • With modules: true, all files are treated as modules

Marked as a breaking change since the previous buggy behavior of treating all files as modules existed for so long.

@ecraig12345 ecraig12345 merged commit 41edaf7 into main Jun 15, 2026
7 checks passed
@ecraig12345 ecraig12345 deleted the style-fix branch June 15, 2026 18:17
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