Skip to content

Commit 4aaff66

Browse files
pi0claude
andcommitted
fix(vite): drop redundant rolldownOptions from ssr service env
The empty-input rolldownOptions replaced rollupOptions under rolldown-vite, breaking the ssr service output. minifyInternalExports in rollupOptions.output applies to both builders. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent cbbf917 commit 4aaff66

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

src/build/vite/env.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -74,13 +74,6 @@ export function createServiceEnvironment(
7474
...(isDev ? {} : { external: [/^nitro(\/|$)/] }),
7575
output: { minifyInternalExports: false },
7676
},
77-
...(ctx._isRolldown
78-
? {
79-
rolldownOptions: {
80-
output: { minifyInternalExports: false },
81-
},
82-
}
83-
: {}),
8477
minify: ctx.nitro!.options.minify,
8578
sourcemap: ctx.nitro!.options.sourcemap,
8679
outDir: join(ctx.nitro!.options.buildDir, "vite/services", name),

0 commit comments

Comments
 (0)