- Notifications
You must be signed in to change notification settings - Fork 359
All CSS-files are treated as CSS Modules #653
Copy link
Copy link
Closed
Labels
CSShas-fixA fix is available, but may not yet be released.A fix is available, but may not yet be released.upstream
Milestone
Description
Metadata
Metadata
Assignees
Labels
CSShas-fixA fix is available, but may not yet be released.A fix is available, but may not yet be released.upstream
Regardless
--css-modulesflag, it is impossible to use CSS and CSS Modules in the same project. It seems thatnulloption works incorrectly and Rollup treats all CSS files as modules.To reproduce, you could try to build this simple example:
Building with
microbundle ./index.jsxmakes the followingindex.cssfile:However, the expected result is: