Skip to content

Commit 6c00315

Browse files
committed
chore: update
1 parent 9d26f47 commit 6c00315

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/src/css/cssConfig.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ const pluginLibCss = (
142142
// 1. mark and remove the "normal css asset" (contain RSLIB_CSS_ENTRY_FLAG)
143143
// 2. preserve CSS Modules asset
144144
api.processAssets(
145-
{ stage: 'optimize-count' },
145+
{ stage: 'additional' }, // deleteAsset as soon as possible for small perf
146146
({ assets, compilation }) => {
147147
for (const key of Object.keys(assets)) {
148148
if (key.match(RSLIB_CSS_ENTRY_FLAG)) {

0 commit comments

Comments
 (0)