feat!: enable asyncWebAssembly by default#12764
Conversation
✅ Deploy Preview for rspack-v2 ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Rsdoctor Bundle Diff AnalysisFound 5 projects in monorepo, 3 projects with changes. 📊 Quick Summary
📋 Detailed Reports (Click to expand)📁 react-10kPath:
📦 Download Diff Report: react-10k Bundle Diff 📁 react-5kPath:
📦 Download Diff Report: react-5k Bundle Diff 📁 romePath:
📦 Download Diff Report: rome Bundle Diff Generated by Rsdoctor GitHub Action |
📦 Binary Size-limit
🎉 Size decreased by 322.75KB from 47.99MB to 47.68MB (⬇️0.66%) |
CodSpeed Performance ReportMerging this PR will not alter performanceComparing Summary
Footnotes
|
Summary
This PR changes the default value of
experiments.asyncWebAssemblyfromfalsetotrue, making async WebAssembly support enabled by default in Rspack. This aligns with the modern WebAssembly ESM integration specification and provides better out-of-the-box support for WebAssembly modules.Previously,
asyncWebAssemblywas only enabled by default whenexperiments.futureDefaultswas set totrue. With this change, users no longer need to explicitly enable this option to use async WebAssembly modules.Checklist