Skip to content

Fix stylesOverlay CSS module handling#877

Open
ecraig12345 wants to merge 1 commit into
mainfrom
style-fix
Open

Fix stylesOverlay CSS module handling#877
ecraig12345 wants to merge 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.

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