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

[Bug]: Rspack can not import some packages (This package not support ESM) correctly but webpack working well #8547

Closed
kvsur opened this issue Nov 27, 2024 · 3 comments
Labels
bug Something isn't working pending triage The issue/PR is currently untouched.

Comments

@kvsur
Copy link

kvsur commented Nov 27, 2024

System Info

We use webpack + systemjs(with AMD extral) + single-spa before, we can not import the package eventemitter2 correctly when migrate to rspack.

Details

This is reproduce demo in github repo:https://github.com/kvsur/rspack-demo-amd

Reproduce link

https://github.com/kvsur/rspack-demo-amd

Reproduce Steps

https://github.com/kvsur/rspack-demo-amd

@kvsur kvsur added bug Something isn't working pending triage The issue/PR is currently untouched. labels Nov 27, 2024
@kvsur kvsur changed the title [Bug]: Rspack can not import package(This package not support ESM) but webpack do [Bug]: Rspack can not import some packages (This package not support ESM) correctly but webpack do Nov 27, 2024
@inottn
Copy link
Collaborator

inottn commented Nov 27, 2024

Rspack does not fully support AMD format yet.

@kvsur kvsur changed the title [Bug]: Rspack can not import some packages (This package not support ESM) correctly but webpack do [Bug]: Rspack can not import some packages (This package not support ESM) correctly but webpack working well Nov 27, 2024
@kvsur
Copy link
Author

kvsur commented Nov 27, 2024

Rspack does not fully support AMD format yet.

Any version plans here?

@inottn
Copy link
Collaborator

inottn commented Nov 27, 2024

Any version plans here?

See #4313 and #8389

@kvsur kvsur closed this as completed Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working pending triage The issue/PR is currently untouched.
Projects
None yet
Development

No branches or pull requests

2 participants