ssr option vite

This commit is contained in:
mbecker20
2022-03-19 18:29:41 -07:00
parent d8a1e61070
commit 0bfa6de526
3 changed files with 2 additions and 3 deletions

View File

@@ -5,7 +5,6 @@ export default defineConfig({
outDir: "build",
target: "esnext",
ssr: true,
"ssr.target": "webworker",
rollupOptions: {
input: "./src/cli.tsx",
},

View File

@@ -4,7 +4,7 @@ export default defineConfig({
build: {
outDir: "build",
target: "esnext",
ssr: "./src/main.ts",
ssr: true,
rollupOptions: {
input: "./src/main.ts"
}

View File

@@ -4,7 +4,7 @@ export default defineConfig({
build: {
outDir: "build",
target: "esnext",
ssr: "./src/main.ts",
ssr: true,
rollupOptions: {
input: "./src/main.ts",
},