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 7e31ad0 commit e87bd7fCopy full SHA for e87bd7f
packages/plugin-rsc/src/transforms/wrap-export.ts
@@ -37,6 +37,7 @@ export function transformWrapExport(
37
end: number,
38
exports: { name: string; meta: ExportMeta }[],
39
) {
40
+ exportNames.push(...exports.map((e) => e.name))
41
// update code and move to preserve `registerServerReference` position
42
// e.g.
43
// input
@@ -64,6 +65,7 @@ export function transformWrapExport(
64
65
}
66
67
function wrapExport(name: string, exportName: string, meta: ExportMeta = {}) {
68
+ exportNames.push(exportName)
69
if (!filter(exportName, meta)) {
70
toAppend.push(`export { ${name} as ${exportName} }`)
71
return
0 commit comments