Open SyMind opened 1 week ago
When using SWC to transform JavaScript, I need to convert the source map returned by SWC into the source map of rspack-sources.
SWC
rspack-sources
I expect to reuse the data in the source map during the conversion process, so I hope there could be an API like the following:
let sources: Vec<Arc<str>> = sourcemap.take_sources(); let sources_content: Vec<Arc<str>> = sourcemap.take_sources_content();
Hi, thank you for the suggestion.
When using
SWC
to transform JavaScript, I need to convert the source map returned by SWC into the source map ofrspack-sources
.I expect to reuse the data in the source map during the conversion process, so I hope there could be an API like the following: