Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interference between strictRequires: true and defaultIsModuleExports: 'auto' #1209

Closed
frangio opened this issue Jun 17, 2022 · 2 comments
Closed

Comments

@frangio
Copy link

frangio commented Jun 17, 2022

Expected Behavior

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

@stale stale bot added the x⁷ ⋅ stale label Sep 9, 2022
@stale
Copy link

stale bot commented Sep 21, 2022

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.

@stale stale bot closed this as completed Sep 21, 2022
@frangio
Copy link
Author

frangio commented Sep 21, 2022

This was not fixed... The reproduction I shared above still produces the same result.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant