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 adbd596 commit 8d992ccCopy full SHA for 8d992cc
packages/plugin-rsc/src/plugin.ts
@@ -310,8 +310,10 @@ export default function vitePluginRsc(
310
name: 'rsc',
311
async config(config, env) {
312
if (config.rsc) {
313
+ // mutate `rscPluginOptions` since internally this object is passed around
314
Object.assign(
315
rscPluginOptions,
316
+ // not sure which should win. for now plugin constructor wins.
317
vite.mergeConfig(config.rsc, rscPluginOptions),
318
)
319
}
0 commit comments