Skip to content

Commit

Permalink
prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
Saeed-Paris authored and Saeed-Paris committed May 18, 2023
1 parent 37cfa88 commit 47efb77
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/vite/src/node/ssr/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ export function resolveSSROptions(
let format: SSRFormat = 'esm'
let target: SSRTarget = 'node'
if (buildSsrCjsExternalHeuristics) {
format = 'cjs'
if (!ssr) {
format = 'cjs'
if (!ssr) {
target = 'node'
}
}
Expand Down

0 comments on commit 47efb77

Please sign in to comment.