mirror of
https://github.com/danbulant/oxc
synced 2026-05-24 20:32:10 +00:00
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. |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||
| CHANGELOG.md | ||
| README.md | ||
The sourcemap implement port from rust-sourcemap, but has some different with it.
- Encode sourcemap at parallel, including quote
sourceContentand encode token tovlqmappings. - Avoid
Sourcemapsome methods overhead, likeSourceMap::tokens().