-
Notifications
You must be signed in to change notification settings - Fork 513
Not all styles included in extracted css #294
Comments
i also have this problem |
wish one guy help me resolve this problem |
Could someone set up a standalone project to study? |
@KELiON Any luck with getting a little demo to study? |
Not sure, maybe related to this (found in wp2 docs) ? |
Sorry, missed few notifications here. I'll try to check what happens with the latest versions of webpack and extract text plugin and set up a demo if it still happens, but if you want to check before I had this issue here (branch feature/webpack2) |
+1. In my project, it is only able to extract CSS in one rule. Outputs from other rules using the plugin are ignored. |
@breeswish Unless someone can provide a project to study, this won't get fixed. |
@bebraw Completely agree with you. Just got free time to create a small demo for this bug. Please check it out here: https://github.com/breeswish/demo cd demo/My.Project
npm install
npm run build According to the However, by commenting out the |
@breeswish Great example. Thank you. 👍 I traced it down to Now the question is, is it the same bug as for the others? And is this a bug even or just the way |
Thank you for the quick workaround! Really helpful for my current crying needs. 👍 |
Please re-open with a small project study if still relevant. |
How can I debug why not all css modules are included in final css bundle?
I've migrated to webpack 2 and rewrote my production config:
And now:
First config works in webpack 1, but with new config and webpack 2 I see that a lot of styles are not in styles.css. How can I debug why it happens?
Also, if I use rules from development (without ExtractCss) it works:
The text was updated successfully, but these errors were encountered: