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

support analyze AMD module format #4313

Open
Tracked by #4327
ahabhgk opened this issue Oct 13, 2023 · 4 comments
Open
Tracked by #4327

support analyze AMD module format #4313

ahabhgk opened this issue Oct 13, 2023 · 4 comments
Labels
feat New feature or request pr welcome team The issue/pr is created by the member of Rspack.

Comments

@ahabhgk
Copy link
Collaborator

ahabhgk commented Oct 13, 2023

What problem does this feature solve?

What does the proposed API of configuration look like?

https://webpack.js.org/configuration/other-options/#amd

@ahabhgk ahabhgk added feat New feature or request pending triage The issue/PR is currently untouched. labels Oct 13, 2023
@github-actions github-actions bot added the team The issue/pr is created by the member of Rspack. label Oct 13, 2023
@ahabhgk ahabhgk added p3-nice-to-have and removed pending triage The issue/PR is currently untouched. labels Oct 13, 2023
@shaodahong
Copy link

I see that it has already been supported.

@ahabhgk
Copy link
Collaborator Author

ahabhgk commented Oct 13, 2023

Nope, I mean analyze dependencies from an AMD module and bundle its dependencies, for now Rspack only support output an AMD format library if I remember correctly

@ahabhgk ahabhgk changed the title support AMD module format support analyze AMD module format Oct 25, 2023
@sunft1996
Copy link

sunft1996 commented Jul 3, 2024

用systemJs应该都会遇到这个问题,因为systemJs要求引入umd模块必须提前引入amd extra来提供amd环境,在rspack中运行项目就会导致所有用到的umd模块都会因amd环境的存在而导出amd格式,rspack就报错了

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

No branches or pull requests

6 participants