Skip to content

Commit

Permalink
fix: change behavior to not handle exports.__esModule as named exports
Browse files Browse the repository at this point in the history
closes #61
  • Loading branch information
59naga committed Jul 16, 2018
1 parent 880a1a2 commit c79f39d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ class ExportsFinder {
if (objectName === 'exports') {
if (propertyName === 'default') {
this.hasExportsDefault = true
} else {
} else if (propertyName !== '__esModule') {
this.hasExportsNamed = true
}
}
Expand Down

0 comments on commit c79f39d

Please sign in to comment.