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

refactor: migrate codebase to pure esm #7089

Open
hardfist opened this issue Jul 9, 2024 · 0 comments
Open

refactor: migrate codebase to pure esm #7089

hardfist opened this issue Jul 9, 2024 · 0 comments
Assignees
Labels
team The issue/pr is created by the member of Rspack.

Comments

@hardfist
Copy link
Contributor

hardfist commented Jul 9, 2024

we migrate lots of webpack's internal code which is commonjs format, which may cause some interop issue with rspack's esm code and is not good for treeshaking if we bundle rspack's code.
we should migrate all existing commonjs code to esm
notice that we do migrate to esm module other than strict esm module during this refactor which means we still compiles all code to commonjs

strict esm maybe supported in 2.0

@github-actions github-actions bot added the team The issue/pr is created by the member of Rspack. label Jul 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team The issue/pr is created by the member of Rspack.
Projects
None yet
Development

No branches or pull requests

2 participants