oxc/crates/oxc_sourcemap
underfin 205c259119
feat(sourcemap): support SourceMapBuilder#token_chunks (#4220)
Because the `token_chunks` need to pre-visit tokens and collect, it
could be done at add tokens phase. So here export it let rolldown could
be improve `renderChunks` sourcemap encode.
2024-07-13 10:11:14 +08:00
..
src feat(sourcemap): support SourceMapBuilder#token_chunks (#4220) 2024-07-13 10:11:14 +08:00
Cargo.toml Release crates v0.20.0 (#4189) 2024-07-11 11:05:49 +08:00
CHANGELOG.md Release crates v0.16.0 (#3930) 2024-06-27 20:38:31 +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().