fix(cli): rspack-cli register loader to preserve real ESM TypeScript configs#13652
fix(cli): rspack-cli register loader to preserve real ESM TypeScript configs#13652
Conversation
Rsdoctor Bundle Diff AnalysisFound 6 projects in monorepo, 6 projects with changes. 📊 Quick Summary
📋 Detailed Reports (Click to expand)📁 popular-libsPath:
📁 react-10kPath:
📁 react-1kPath:
📁 react-5kPath:
📁 romePath:
📁 ui-componentsPath:
Generated by Rsdoctor GitHub Action |
Merging this PR will improve performance by 5.13%
|
| Mode | Benchmark | BASE |
HEAD |
Efficiency | |
|---|---|---|---|---|---|
| ⚡ | Simulation | rust@concatenate_module_code_generation |
138.6 ms | 137.2 ms | +1.06% |
| ⚡ | Simulation | js@Traverse compilation.modules |
61.9 µs | 58.9 µs | +5.13% |
Comparing codex/configloader-real-esm (0795216) with main (5f6b5b2)2
Footnotes
-
10 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports. ↩
-
No successful run was found on
main(6f24f88) during the generation of this report, so 5f6b5b2 was used instead as the comparison base. There might be some changes unrelated to this pull request in this report. ↩
📦 Binary Size-limit
🎉 Size decreased by 9.72KB from 49.37MB to 49.36MB (⬇️0.02%) |
795f7fe to
0795216
Compare
##Summary
configLoader=registerTypeScript transpilation to files Node resolves as CommonJS.tshelpers on Node's native loader path so faux ESM no longer gets downleveled to CommonJScjs_in_esm##Testing