-
-
Notifications
You must be signed in to change notification settings - Fork 599
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
Compatibility of umd/amd output. #2787
Labels
Comments
KyrieLii
added
bug
Something isn't working
pending triage
The issue/PR is currently untouched.
labels
Apr 17, 2023
github-actions
bot
added
the
team
The issue/pr is created by the member of Rspack.
label
Apr 17, 2023
Look like need scan amd module syntax, it is a hard work at now. |
hyf0
added
feat
New feature or request
and removed
bug
Something isn't working
p3-has-workaround
team
The issue/pr is created by the member of Rspack.
labels
May 16, 2023
This was referenced Oct 16, 2023
Merged
This was referenced Jul 30, 2024
Merged
This was referenced Aug 16, 2024
This was referenced Aug 23, 2024
2 tasks
This was referenced Sep 10, 2024
2 tasks
2 tasks
This was referenced Nov 5, 2024
Merged
This was referenced Nov 20, 2024
Merged
This was referenced Nov 29, 2024
This was referenced Dec 11, 2024
Merged
2 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
System Info
System:
OS: macOS 12.5.1
CPU: (10) arm64 Apple M1 Pro
Memory: 15.74 GB / 32.00 GB
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 16.18.0 - ~/.nvm/versions/node/v16.18.0/bin/node
Yarn: 1.22.19 - ~/.nvm/versions/node/v16.18.0/bin/yarn
npm: 8.19.2 - ~/.nvm/versions/node/v16.18.0/bin/npm
Browsers:
Chrome: 112.0.5615.49
Safari: 15.6.1
npmPackages:
@rspack/cli: latest => 0.1.7
Details
Some packages output files like this:
https://github.com/aui/art-template/blob/3.1.0/dist/template-debug.js#L728
Another example is lodash (but i don't find souce code):
To reproduce this issue, I have written a simple demo.
You can see the difference of outputs between rspack and webpack .
rspack:
webpack:
These differences will lead to some errors .
Tks!
Reproduce link
https://github.com/KyrieLii/rspack-webpack-demo/tree/amd-0.1.7
Reproduce Steps
Pls see README.
The text was updated successfully, but these errors were encountered: