-
-
Notifications
You must be signed in to change notification settings - Fork 384
Common styles not added to all bundles on entry points code split #626
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
Unfortunately I am can not to reproduce the problem. |
Okey, here we go We have 2 entries -
I expect that we should get only 2 css files -
|
I am expecting that webpack chunks are all imported to the entry point css file. Many thanks! |
Expected Behavior
I expect that common styles are included in every entry point css bundle where it's included.
Done according to this docs https://webpack.js.org/plugins/mini-css-extract-plugin/#extracting-css-based-on-entry
Actual Behavior
Styles are only included in one entry point.
Code
Code is the same as https://webpack.js.org/plugins/mini-css-extract-plugin/#extracting-css-based-on-entry
How Do We Reproduce?
The text was updated successfully, but these errors were encountered: