Skip to content

Commit 50919e0

Browse files
committed
comment
1 parent b761ef4 commit 50919e0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/plugin-rsc/examples/browser-mode/vite.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ function rscBrowserModePlugin(): Plugin[] {
152152
) {
153153
return '\0virtual:empty'
154154
}
155+
// swap react-client loader during build
155156
if (source === 'virtual:vite-rsc-browser-mode:load_client_build') {
156157
if (this.environment.mode === 'dev' || api.manager.isScanBuild) {
157158
return '\0virtual:empty'

0 commit comments

Comments
 (0)