Skip to content

Commit 0f6b446

Browse files
committed
feat: ability to disable extract async modules, order fix
1 parent bd24541 commit 0f6b446

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
@@ -461,7 +461,7 @@ class MiniCssExtractPlugin {
461461
const { module } = issuerDeps[i];
462462
if (asyncModuleToBeRebuild.has(module)) {
463463
firstIndex = i;
464-
content.push(module.content.replace(/(?:[\r\n]+)/g, '\\n'));
464+
content.unshift(module.content.replace(/(?:[\r\n]+)/g, '\\n'));
465465
issuerDeps.splice(i, 1);
466466
}
467467
}

0 commit comments

Comments
 (0)