Skip to content

Commit

Permalink
fix(ssr): dont replace rollup input (#7275)
Browse files Browse the repository at this point in the history
  • Loading branch information
manucorporat authored Jun 13, 2022
1 parent 2548dd3 commit 9a88afa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vite/src/node/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -407,14 +407,14 @@ async function doBuild(
}

const rollupOptions: RollupOptions = {
input,
context: 'globalThis',
preserveEntrySignatures: ssr
? 'allow-extension'
: libOptions
? 'strict'
: false,
...options.rollupOptions,
input,
plugins,
external,
onwarn(warning, warn) {
Expand Down

0 comments on commit 9a88afa

Please sign in to comment.