Skip to content

Commit 8e4e08f

Browse files
committed
Fix config for server build rollupOptions
1 parent d494974 commit 8e4e08f

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

vite.config.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,15 @@ import { defineConfig } from "vite";
33
import tsconfigPaths from "vite-tsconfig-paths";
44

55
export default defineConfig(() => ({
6+
environments: {
7+
ssr: {
8+
build: {
9+
rollupOptions: {
10+
input: "./server/app.ts",
11+
},
12+
},
13+
},
14+
},
615
ssr: {
716
noExternal: ["@docsearch/react"],
817
},

0 commit comments

Comments
 (0)