Skip to content

Commit c79f39d

Browse files
committed
fix: change behavior to not handle exports.__esModule as named exports
closes #61
1 parent 880a1a2 commit c79f39d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ class ExportsFinder {
7878
if (objectName === 'exports') {
7979
if (propertyName === 'default') {
8080
this.hasExportsDefault = true
81-
} else {
81+
} else if (propertyName !== '__esModule') {
8282
this.hasExportsNamed = true
8383
}
8484
}

0 commit comments

Comments
 (0)