Skip to content

Commit

Permalink
chore: remove ssr.target use
Browse files Browse the repository at this point in the history
  • Loading branch information
patak-dev committed Apr 6, 2024
1 parent ea1c7eb commit 0ea8be9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/vite/src/node/external.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ export function createIsConfiguredAsExternal(
isProduction: false,
isBuild: true,
conditions: targetConditions,
webCompatible: config.ssr.target === 'webworker', // TODO: back compat
nodeCompatible: true,
webCompatible: options.webCompatible,
nodeCompatible: options.nodeCompatible,
}

const isExternalizable = (
Expand Down

0 comments on commit 0ea8be9

Please sign in to comment.