Skip to content

Commit

Permalink
fix: css chunk loading missing chunkIds (#4266)
Browse files Browse the repository at this point in the history
fix: should handle pre-pushed css chunks correctly
  • Loading branch information
JSerFeng authored Sep 30, 2023
1 parent 8496bc5 commit 3b44737
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ var loadCssChunkCallback = function (parentChunkLoadingFunction, data) {
}
};
var chunkLoadingGlobal = $CHUNK_LOADING_GLOBAL_EXPR$ = $CHUNK_LOADING_GLOBAL_EXPR$ || [];
chunkLoadingGlobal.forEach(loadCssChunkCallback.bind(null, 0));
chunkLoadingGlobal.push = loadCssChunkCallback.bind(
null,
chunkLoadingGlobal.push.bind(chunkLoadingGlobal)
);
);

0 comments on commit 3b44737

Please sign in to comment.