Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

Commit

Permalink
Now using ssr setting from nuxt.config when merging configs in vite
Browse files Browse the repository at this point in the history
  • Loading branch information
blazmrak committed Jan 13, 2022
1 parent cf447ef commit b311fab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/bridge/src/vite/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export async function buildServer (ctx: ViteBuildContext) {
build: {
outDir: resolve(ctx.nuxt.options.buildDir, 'dist/server'),
assetsDir: ctx.nuxt.options.app.assetsPath.replace(/^\/|\/$/, ''),
ssr: true,
ssr: ctx.nuxt.options.ssr ?? true,
ssrManifest: true,
rollupOptions: {
input: resolve(ctx.nuxt.options.buildDir, 'server.js'),
Expand Down

0 comments on commit b311fab

Please sign in to comment.