rust-sourcemap
rust-sourcemap copied to clipboard
A library for rust that implements basic sourcemap handling
A mapping in a sourcemap can contain 1, 4, or 5 data points. The first is always the minified column number, the next 3 (if present) are the original file,...
In version [0.24.1](https://github.com/evanw/esbuild/releases/tag/v0.24.1), esbuild changed the way it generates source mappings. This is the relevant section of the changelog: > Source mappings may now contain null entries (https://github.com/evanw/esbuild/issues/3310, https://github.com/evanw/esbuild/issues/3878) >...
When using `SWC` to transform JavaScript, I need to convert the source map returned by SWC into the source map of `rspack-sources`. I expect to reuse the data in the...
The relevant TC39 proposal proposes debug IDs to be in camelCase (`debugId`): https://github.com/tc39/source-map/blob/8be0fe10ad042e13f4196d17b44ddedfd6a9df58/proposals/debug-id.md?plain=1#L111 We probably need to figure out some sort of migration path or cut a major for this?