Skip to content

Commit ce58166

Browse files
committed
allow rollup plugin
1 parent c46fc7b commit ce58166

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/start-plugin-core/src/nitro/nitro-plugin.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,11 @@ export function nitroPlugin(
8080
},
8181
prerender: undefined,
8282
renderer: ssrEntryFile,
83+
...options.nitro,
8384
rollupConfig: {
8485
plugins: [virtualBundlePlugin(getSsrBundle())],
86+
...options.nitro.rollupConfig,
8587
},
86-
...options.nitro,
8788
}
8889

8990
const nitro = await createNitro(nitroConfig)

0 commit comments

Comments
 (0)