Skip to content

Commit 9a88afa

Browse files
authoredJun 13, 2022
fix(ssr): dont replace rollup input (#7275)
1 parent 2548dd3 commit 9a88afa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎packages/vite/src/node/build.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -407,14 +407,14 @@ async function doBuild(
407407
}
408408

409409
const rollupOptions: RollupOptions = {
410-
input,
411410
context: 'globalThis',
412411
preserveEntrySignatures: ssr
413412
? 'allow-extension'
414413
: libOptions
415414
? 'strict'
416415
: false,
417416
...options.rollupOptions,
417+
input,
418418
plugins,
419419
external,
420420
onwarn(warning, warn) {

0 commit comments

Comments
 (0)
Please sign in to comment.