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 83a5741 commit 23fd022Copy full SHA for 23fd022
packages/plugin-rsc/src/plugin.ts
@@ -1495,6 +1495,8 @@ function collectAssetDepsInner(
1495
assert(v, `Not found '${k}' in the bundle`)
1496
if (v.type === 'chunk') {
1497
css.push(...(v.viteMetadata?.importedCss ?? []))
1498
+ // TODO: for client references, aggressively collect to surface css at client boundary for SSR.
1499
+ v.dynamicImports
1500
for (const k2 of v.imports) {
1501
// server external imports is not in bundle
1502
if (k2 in bundle) {
0 commit comments