-
Notifications
You must be signed in to change notification settings - Fork 513
[4.0.0-beta.0] Extracted text only output commons.css instead of separated css files when using optimization.splitChunks #742
Comments
+1 |
Hello @edwardfhsiao. Just to point out, take a look at |
@mbarakaja be aware that currently, mini-css-extract-plugin does not support HMR(hot reloading) if you want to move away from I've lost a lot of time to find this out, but it was just there, in the project's |
@iongion, that's true. Currently I'm using this plugin just to move third party CSS files that I import somewhere in my JS code. I can do it with Anyway, thanks for the advice. |
+1 how to solve it? |
+1 how to solve it? |
TL;DR Use The |
Uh oh!
There was an error while loading. Please reload this page.
package.json
config.js
page1.js
page2.js
page3.js
When using webpack3, we use
it outputs commons.css, page1.css, page2.css, page3.css.
However, in webpack4, it changes the CommonsChunkPlugin to the optimization.splitChunks, and it only outputs commons.css
The text was updated successfully, but these errors were encountered: