-
-
Notifications
You must be signed in to change notification settings - Fork 26.9k
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
External node module css load problem #381
Comments
From their README:
We intentionally don’t support CSS Modules at this point. While this may change in the future, we don’t think it’s wise for generic libraries to force user to enable CSS Modules as it is a pretty opinionated way of doing CSS. |
i might not get what you want to say by
but it work fine if i import flexboxgrid.css from src/index.css. |
Hmm, okay.
There is an extension to CSS called CSS Modules which we don’t support. However it seemed to me that react-flexbox-grid forces users to enable it:
I don’t know if this is still true—glad you got it resolved. |
I think, you might take me wrong.
which means it uses CSS Module, but it include only srcPath in that. |
No, As for the code you’re referring to, it is from an old version on Create React App. Have you updated to 0.2.1? |
thanks for the explanation. |
(chore) tune up TypeScript compiler
Getting error in every external module which import css internally.
Here, I am using react-flexbox-grid which import flexboxgrid.css from flexboxgrid module.
The text was updated successfully, but these errors were encountered: