We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d26f47 commit 6c00315Copy full SHA for 6c00315
packages/core/src/css/cssConfig.ts
@@ -142,7 +142,7 @@ const pluginLibCss = (
142
// 1. mark and remove the "normal css asset" (contain RSLIB_CSS_ENTRY_FLAG)
143
// 2. preserve CSS Modules asset
144
api.processAssets(
145
- { stage: 'optimize-count' },
+ { stage: 'additional' }, // deleteAsset as soon as possible for small perf
146
({ assets, compilation }) => {
147
for (const key of Object.keys(assets)) {
148
if (key.match(RSLIB_CSS_ENTRY_FLAG)) {
0 commit comments