Skip to content

Commit 8d992cc

Browse files
committed
chore: comment
1 parent adbd596 commit 8d992cc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/plugin-rsc/src/plugin.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -310,8 +310,10 @@ export default function vitePluginRsc(
310310
name: 'rsc',
311311
async config(config, env) {
312312
if (config.rsc) {
313+
// mutate `rscPluginOptions` since internally this object is passed around
313314
Object.assign(
314315
rscPluginOptions,
316+
// not sure which should win. for now plugin constructor wins.
315317
vite.mergeConfig(config.rsc, rscPluginOptions),
316318
)
317319
}

0 commit comments

Comments
 (0)