Skip to content

Commit 9965ce6

Browse files
committed
pass ssr option to vite build
this will be required in next release
1 parent da2c4f6 commit 9965ce6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/node/build/bundle.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ export async function bundle(
4040
plugins: createVitePressPlugin(root, config, ssr, pageToHashMap),
4141
build: {
4242
...options,
43+
// @ts-ignore
44+
ssr,
4345
base: config.site.base,
4446
outDir: ssr ? config.tempDir : config.outDir,
4547
cssCodeSplit: false,

0 commit comments

Comments
 (0)