Skip to content

Commit 5c365d3

Browse files
authored
add ';'to module.media
1 parent d5e540b commit 5c365d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1364,7 +1364,7 @@ class MiniCssExtractPlugin {
13641364
// insert media into the @import
13651365
// this is rar
13661366
// TODO improve this and parse the CSS to support multiple medias
1367-
content = content.replace(/;|\s*$/, module.media);
1367+
content = content.replace(/;|\s*$/, `${module.media};`);
13681368
}
13691369

13701370
externalsSource.add(content);

0 commit comments

Comments
 (0)