Repository navigation
feat: Include sourcemap in errors - #3282
Draft
aleksanderkatan wants to merge 11 commits into
Draft
aleksanderkatan wants to merge 11 commits into
aleksanderkatan wants to merge 11 commits into
Conversation
aleksanderkatan
force-pushed
the
feat/include-sourcemap-in-errors
branch
from
October 28, 2026 11:26
9f68d34 to
e48c001
Compare
|
pkg.pr.new packages benchmark commit |
Resolution Time Benchmark---
config:
themeVariables:
xyChart:
plotColorPalette: "#E63946, #3B82F6, #059669"
---
xychart
title "Random Branching (🔴 PR | 🔵 main | 🟢 release)"
x-axis "max depth" [1, 2, 3, 4, 5, 6, 7, 8]
y-axis "time (ms)"
line [1.12, 2.31, 5.08, 7.54, 9.31, 12.43, 28.51, 31.01]
line [1.09, 2.17, 4.51, 7.00, 8.44, 13.44, 29.46, 28.94]
line [1.00, 2.16, 4.70, 7.54, 8.52, 15.05, 27.71, 28.97]
---
config:
themeVariables:
xyChart:
plotColorPalette: "#E63946, #3B82F6, #059669"
---
xychart
title "Linear Recursion (🔴 PR | 🔵 main | 🟢 release)"
x-axis "max depth" [1, 2, 3, 4, 5, 6, 7, 8]
y-axis "time (ms)"
line [0.34, 0.58, 0.83, 1.03, 1.23, 1.37, 1.61, 1.78]
line [0.31, 0.55, 0.74, 0.91, 1.21, 1.30, 1.53, 1.76]
line [0.33, 0.57, 0.81, 0.99, 1.28, 1.35, 1.63, 1.67]
---
config:
themeVariables:
xyChart:
plotColorPalette: "#E63946, #3B82F6, #059669"
---
xychart
title "Full Tree (🔴 PR | 🔵 main | 🟢 release)"
x-axis "max depth" [1, 2, 3, 4, 5, 6, 7, 8]
y-axis "time (ms)"
line [1.04, 2.29, 4.60, 8.61, 14.41, 30.75, 62.15, 127.22]
line [0.91, 2.50, 4.18, 8.00, 14.63, 28.60, 63.29, 125.16]
line [0.88, 2.49, 4.13, 8.06, 14.78, 29.42, 61.85, 128.67]
|
Bundle size comparison (
|
| 🟢 Decreased | ➖ Unchanged | 🔴 Increased (max 0.28%) | ❔ Unknown |
|---|---|---|---|
| 0 | 343 | 12 | 0 |
No notable changes.
If you wish to run a comparison for other, slower bundlers, run the 'Tree-shake test' from the GitHub Actions menu.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I replaced 3 example throws with
failcalls (I delegate the rewrite of remaining ones to another PR).At this point, the source is only present in the message.
I'll try to include it in the actual stack trace in further PRs.
With vite config:
The link is clickable in VSCode's console, and takes to the correct location.
Updates with hot reload as expected.