-
-
Notifications
You must be signed in to change notification settings - Fork 387
Closed
Description
- Operating System: macOS Catalina
- Node Version: v10.16.0
- NPM Version: 6.11.3
- webpack Version: 4.44.2
- mini-css-extract-plugin Version: 1.0.0
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?
- Create multiple entry points.
- Create component with scss style module.
- Use this component in two or more entry points.
- Styles of this component are in only one entrypoint
Metadata
Metadata
Assignees
Labels
No labels