mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 21:55:11 +00:00
fix(bridge): build fails with SSR turned off (#2708)
This commit is contained in:
parent
03d33dfdef
commit
2b86345e9e
@ -51,7 +51,7 @@ export async function buildServer (ctx: ViteBuildContext) {
|
||||
},
|
||||
build: {
|
||||
outDir: resolve(ctx.nuxt.options.buildDir, 'dist/server'),
|
||||
ssr: true,
|
||||
ssr: ctx.nuxt.options.ssr ?? true,
|
||||
ssrManifest: true,
|
||||
rollupOptions: {
|
||||
input: resolve(ctx.nuxt.options.buildDir, 'server.js'),
|
||||
|
Loading…
Reference in New Issue
Block a user