Skip to content

Commit

Permalink
chore: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
sheremet-va committed Jan 29, 2024
1 parent bcfe993 commit aa5354e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vite/src/node/ssr/runtime/runtime.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ export class ViteRuntime {
return exports
}
const { id, type } = fetchResult
if (type === 'builtin') return exports
if (type !== 'module' && type !== 'commonjs') return exports
analyzeImportedModDifference(exports, id, type, metadata)
return proxyGuardOnlyEsm(exports, id, metadata)
}
Expand Down

0 comments on commit aa5354e

Please sign in to comment.