oxc/crates/oxc_codegen
underfin b199cb89a2
feat: add oxc sourcemap crate (#2825)
The sourcemap implement port from
[rust-sourcemap](https://github.com/getsentry/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()`
caused extra overhead at common cases. Here using `SourceViewToken` to
instead of it.
2024-03-28 19:36:38 +08:00
..
examples feat: add oxc sourcemap crate (#2825) 2024-03-28 19:36:38 +08:00
src feat: add oxc sourcemap crate (#2825) 2024-03-28 19:36:38 +08:00
tests refactor(sourcemap): change sourcemap name to take a reference (#2779) 2024-03-23 21:40:05 +08:00
Cargo.toml feat: add oxc sourcemap crate (#2825) 2024-03-28 19:36:38 +08:00