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 92f7b2b commit b30a4ceCopy full SHA for b30a4ce
packages/plugin-rsc/src/plugin.ts
@@ -1154,10 +1154,11 @@ function vitePluginUseClient(
1154
}) ??
1155
// use original module id as name by default
1156
normalizePath(path.relative(manager.config.root, meta.importId))
1157
- name = name.replace(/\b\.\.\b/, '__')
+ name = name.replaceAll('..', '__')
1158
const group = (manager.clientReferenceGroups[name] ??= [])
1159
group.push(meta)
1160
}
1161
+ debug('client-reference-groups', manager.clientReferenceGroups)
1162
for (const [name, metas] of Object.entries(
1163
manager.clientReferenceGroups,
1164
)) {
0 commit comments