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 16cca82 commit 5c397b3Copy full SHA for 5c397b3
1 file changed
packages/plugin-rsc/src/plugin.ts
@@ -136,7 +136,7 @@ export default function vitePluginRsc(
136
root: process.cwd(),
137
isBuild: env.command === 'build',
138
isFrameworkPkgByJson(pkgJson) {
139
- // these are added by default
+ // these are added by default and don't need to crawl further
140
if ([PKG_NAME, 'react-dom'].includes(pkgJson.name)) {
141
return false
142
}
0 commit comments