-
-
Notifications
You must be signed in to change notification settings - Fork 978
fix(sourcemap): improve source map visualizer #7386
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
3d6b55b
48e78b4
f4e4e4a
f1e2e3a
3b7fd97
b4ab0d3
38b5e69
a2a0c38
84e420a
65eaf43
bf798a5
13584ca
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
|
|
||
| // shared.js | ||
| const a = 'shared.js'; | ||
|
|
||
| // index.js | ||
| const a$1 = 'index.js'; | ||
| console.log(a$1, a); |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| --- | ||
| source: crates/oxc_sourcemap/tests/main.rs | ||
| input_file: crates/oxc_sourcemap/tests/fixtures/basic/test.js | ||
| snapshot_kind: text | ||
| --- | ||
| - shared.js | ||
| (0:0) "const " --> (2:0) "const " | ||
| (0:6) "a = " --> (2:6) "a = " | ||
| (0:10) "'shared.js'\n" --> (2:10) "'shared.js';\n" | ||
| - index.js | ||
| (1:0) "const " --> (5:0) "const " | ||
| (1:6) "a = " --> (5:6) "a$1 = " | ||
| (1:10) "'index.js'\n" --> (5:12) "'index.js';\n" | ||
| (2:0) "console." --> (6:0) "console." | ||
| (2:8) "log(" --> (6:8) "log(" | ||
| (2:12) "a, " --> (6:12) "a$1, " | ||
| (2:15) "a2)" --> (6:17) "a)" | ||
| (2:18) "\n" --> (6:19) ";\n" |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| Example code from https://github.com/evanw/source-map-visualization/ |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Uh oh!
There was an error while loading. Please reload this page.