-
-
Notifications
You must be signed in to change notification settings - Fork 218
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't use global .css when using modules with custom options #281
Comments
This is also impacting all the projects using microbundle. Noticed it in create-react-library. |
Same here, want to mix module.scss with plain .scss (global), but unable to do it. |
katywings
added a commit
to lufrai/rollup-plugin-postcss
that referenced
this issue
Jun 26, 2020
katywings
added a commit
to lufrai/rollup-plugin-postcss
that referenced
this issue
Jun 26, 2020
egoist
pushed a commit
that referenced
this issue
Jul 14, 2020
fixed by #292 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When
modules
are activated with anobject
we can't use global CSS because everything is handled as modules.Input:
Output:
Workaround: Don't set custom modules settings.
Proposal:
Enable CSS Modules only on file convention or add a new option to infer the
module
mode by yourself.https://github.com/egoist/rollup-plugin-postcss/blob/master/src/postcss-loader.js#L74
The text was updated successfully, but these errors were encountered: