Skip to content

revert: fix: align amd option behavior with webpack#9103

Merged
ahabhgk merged 2 commits intomainfrom
revert-enable-amd
Jan 23, 2025
Merged

revert: fix: align amd option behavior with webpack#9103
ahabhgk merged 2 commits intomainfrom
revert-enable-amd

Conversation

@ahabhgk
Copy link
Copy Markdown
Contributor

@ahabhgk ahabhgk commented Jan 23, 2025

Summary

revert #9011

In #9011 we have basic AMD support, but there are still some edge cases that will broken by AMD, so we disable it for now, we will re-enable it when our AMD support becomes more stable

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

@github-actions github-actions Bot added the team The issue/pr is created by the member of Rspack. label Jan 23, 2025
@netlify
Copy link
Copy Markdown

netlify Bot commented Jan 23, 2025

Deploy Preview for rspack canceled.

Name Link
🔨 Latest commit 6b3fc66
🔍 Latest deploy log https://app.netlify.com/sites/rspack/deploys/679213fb75d6640009e1a19a

@ahabhgk ahabhgk changed the title revert: disable amd by default revert: fix: align amd option behavior with webpack Jan 23, 2025
@codspeed-hq
Copy link
Copy Markdown

codspeed-hq Bot commented Jan 23, 2025

CodSpeed Performance Report

Merging #9103 will not alter performance

Comparing revert-enable-amd (6b3fc66) with main (9df4956)

Summary

✅ 4 untouched benchmarks

@ahabhgk ahabhgk enabled auto-merge (squash) January 23, 2025 11:40
@nanianlisao
Copy link
Copy Markdown
Contributor

Revert this commit is indeed a bad decision, so can I safely set amd to {} ?

@ahabhgk
Copy link
Copy Markdown
Contributor Author

ahabhgk commented Mar 24, 2025

Back then this feature has bugs, so I think it's fairly reasonable to revert this commit, now this feature is stabled in >=v1.3.0-beta.0 and we've updated our docs and added the reason about why we decided to keep the defaults as is https://rspack.dev/config/other-options#amd

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

Successfully merging this pull request may close these issues.

3 participants