We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5330b4c commit e8a090eCopy full SHA for e8a090e
packages/vite/src/node/optimizer/index.ts
@@ -1123,7 +1123,7 @@ function needsInterop(
1123
if (getDepOptimizationConfig(config, ssr)?.needsInterop?.includes(id)) {
1124
return true
1125
}
1126
- const { exports, hasModuleSyntax } = exportsData
+ const { hasModuleSyntax, exports } = exportsData
1127
// entry has no ESM syntax - likely CJS or UMD
1128
if (!hasModuleSyntax) {
1129
0 commit comments