We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ddf35a commit 98acf2bCopy full SHA for 98acf2b
1 file changed
src/index.js
@@ -1364,7 +1364,7 @@ class MiniCssExtractPlugin {
1364
// insert media into the @import
1365
// this is rar
1366
// TODO improve this and parse the CSS to support multiple medias
1367
- content = content.replace(/;|\s*$/, module.media);
+ content = content.replace(/;|\s*$/, `${module.media};`);
1368
}
1369
1370
externalsSource.add(content);
0 commit comments