oxc/crates/oxc_sourcemap
underfin 64c4b825f1
chore: improve sourcemap visualizer (#2886)
The pr intend to improve `SourcemapVisualizer` log mapping.

- add the mapping for last token to final position of source
- fix token mapping
2024-04-03 10:45:00 +08:00
..
src chore: improve sourcemap visualizer (#2886) 2024-04-03 10:45:00 +08:00
Cargo.toml Release crates v0.11.0 2024-03-30 13:54:53 +08:00
CHANGELOG.md chore: add changelogs via git cliff (#2878) 2024-04-01 20:04:48 +08:00
README.md feat: add oxc sourcemap crate (#2825) 2024-03-28 19:36:38 +08:00

The sourcemap implement port from rust-sourcemap, but has some different with it.

  • Encode sourcemap at parallel, including quote sourceContent and encode token to vlq mappings.
  • Avoid Sourcemap some methods overhead, like SourceMap::tokens().