Skip to content

Commit f350eb8

Browse files
committed
Removed async loading of CSS chunks
1 parent b653641 commit f350eb8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,7 @@ class MiniCssExtractPlugin {
269269
mainTemplate.hooks.requireEnsure.tap(
270270
pluginName,
271271
(source, chunk, hash) => {
272+
/*
272273
const chunkMap = this.getCssChunkObject(chunk);
273274
if (Object.keys(chunkMap).length > 0) {
274275
const chunkMaps = chunk.getChunkMaps();
@@ -388,6 +389,7 @@ class MiniCssExtractPlugin {
388389
'}',
389390
]);
390391
}
392+
*/
391393
return source;
392394
}
393395
);

0 commit comments

Comments
 (0)