You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With defaultIsModuleExports: 'auto', a module with exports.__esModule = true has its default export taken from exports.default.
Actual Behavior
When both defaultIsModuleExports: 'auto' and strictRequires: true are used together, __esModule is ignored and the default export is an object { __esModule: true, default: ... }.
Additional Information
The text was updated successfully, but these errors were encountered:
Hey folks. This issue hasn't received any traction for 60 days, so we're going to close this for housekeeping. If this is still an ongoing issue, please do consider contributing a Pull Request to resolve it. Further discussion is always welcome even with the issue closed. If anything actionable is posted in the comments, we'll consider reopening it. ⓘ
Expected Behavior
With
defaultIsModuleExports: 'auto'
, a module withexports.__esModule = true
has its default export taken fromexports.default
.Actual Behavior
When both
defaultIsModuleExports: 'auto'
andstrictRequires: true
are used together,__esModule
is ignored and the default export is an object{ __esModule: true, default: ... }
.Additional Information
The text was updated successfully, but these errors were encountered: