-
Notifications
You must be signed in to change notification settings - Fork 67
When using ExtractTextPlugin it break the app #66
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
Comments
@idangozlan Could you provide a minimal representation gist/repo? |
Yes please |
when the source style is empty / contain only :global rules, `extract-text-webpack-plugin` put string instead of json, which break the merge. this if prevent this specific case javivelasco#66
Ok, so I investigate this issue very deeply, debug it and found the issue. When using react-css-themr and supplying as base stylesheet which is empty / has only :global rules, for ex:
and App.scss is empty / only :global rules, when Finally, we can warn users to not include empty/global rules as base theme file, but I would like to prevent users fail with that tricky thing. Anyway, I've created an exception if for that, and im going to create pull request. it's up to you guys if to get it or not, but I think it will be good idea. |
Any special instructions to ExtractTextPlugin usage?
The text was updated successfully, but these errors were encountered: