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

feat: support reexport for cjs-esm interop #4325

Closed
Tracked by #3553 ...
ahabhgk opened this issue Oct 16, 2023 · 1 comment · Fixed by #4995
Closed
Tracked by #3553 ...

feat: support reexport for cjs-esm interop #4325

ahabhgk opened this issue Oct 16, 2023 · 1 comment · Fixed by #4995
Labels
stale team The issue/pr is created by the member of Rspack.

Comments

@ahabhgk
Copy link
Collaborator

ahabhgk commented Oct 16, 2023

for now we use a runtime code: __webpack_require__.es to support it, it's aligned with babel's behavior (non-strict esm), but we haven't support node's behavior (strict esm)

related code: https://github.com/webpack/webpack/blob/87660921808566ef3b8796f8df61bd79fc026108/lib/dependencies/HarmonyExportImportedSpecifierDependency.js#L937

@github-actions github-actions bot added the team The issue/pr is created by the member of Rspack. label Oct 16, 2023
@ahabhgk ahabhgk changed the title reexport feat: support reexport for cjs-esm interop Oct 16, 2023
Copy link

stale bot commented Dec 15, 2023

This issue has been automatically marked as stale because it has not had recent activity. If this issue is still affecting you, please leave any comment (for example, "bump"). We are sorry that we haven't been able to prioritize it yet. If you have any new additional information, please include it with your comment!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale team The issue/pr is created by the member of Rspack.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants