You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.test {
color: purple; /* just some styles to test */
}
component.css
@import'./common.css';
styles.css
@import"./common.css";
@import"./component.css";
In the output bundle I have the following:
.test {
color: purple;
}
.test {
color: purple;
}
The references to common.css are not merged and the content is rendered twice. This happening only in mode: "development", and is actually caused by NamedModulesPlugin. Removing this module from config fixes the issue.
I have the following files:
common.css
component.css
styles.css
In the output bundle I have the following:
The references to
common.css
are not merged and the content is rendered twice. This happening only inmode: "development"
, and is actually caused byNamedModulesPlugin
. Removing this module from config fixes the issue.P.S. there is a repository, that you can checkout locally and reproduce the issue: https://github.com/just-boris/mini-css-extract-plugin-283
The text was updated successfully, but these errors were encountered: