feat!: remove experiments.topLevelAwait#12722
Conversation
✅ Deploy Preview for rspack-v2 canceled.
|
📦 Binary Size-limit
🎉 Size decreased by 386.63KB from 47.90MB to 47.53MB (⬇️0.79%) |
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 |
CodSpeed Performance ReportMerging this PR will not alter performanceComparing Summary
Footnotes
|
* feat: remove experiments.topLevelAwait * feat: remove experiments.topLevelAwait
* feat: remove experiments.topLevelAwait * feat: remove experiments.topLevelAwait
* feat: remove experiments.topLevelAwait * feat: remove experiments.topLevelAwait
Summary
The Rspack experiments.topLevelAwait option was used to control support for top-level await, and it has always been enabled by default.
After careful observation, we found no real-world scenarios where disabling top-level await was necessary.
As a result, this option has been deprecated and is planned for removal in Rspack 2.0, at that point top-level await support can no longer be disabled.
Related links
Checklist