Repository navigation
feat(napi): expose findTsconfig methods in Node API - #1403
sapphi-red wants to merge 2 commits into
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1403 +/- ##
=======================================
Coverage 94.78% 94.78%
=======================================
Files 26 26
Lines 4828 4828
=======================================
Hits 4576 4576
Misses 252 252 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Merging this PR will improve performance by 4.46%
|
| Benchmark | BASE |
HEAD |
Efficiency | |
|---|---|---|---|---|
| ⚡ | resolver_real[multi-thread] |
541.7 µs | 514.7 µs | +5.25% |
| ⚡ | pm/pnpm-isolated |
2.1 ms | 2 ms | +3.68% |
Tip
Curious why performance improved? Comment @codspeedbot explain why performance improved on this PR, or directly use the CodSpeed MCP with your agent.
Comparing feat/find-tsconfig (a3043ca) with main (bf29bf0)
Footnotes
-
5 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. ↩
Exposed
find_tsconfigfrom the napi apis.I'm planning to use this at https://github.com/rolldown/rolldown/blob/25e16ff133930d7d75453b036a63ecf84f19f184/packages/rolldown/src/utils/resolve-tsconfig.ts#L29 and re-export it from Vite for vitejs/vite#22336