Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix(ssr): dont replace rollup input (#7275)
  • Loading branch information
manucorporat committed 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
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.