getsentry / rust-sourcemap

A library for rust that implements basic sourcemap handling
Other
224 stars 27 forks source link

fix: Correctly handle protocol-only sourceRoot values #61

Closed kamilogorek closed 1 year ago

kamilogorek commented 1 year ago

This makes some configurations of Webpack, which emit "sourceRoot": "webpack:///" work as expected, and allowing CLI to rewrite sources into webpack:///./src/foo/bar.js rather than webpack:/./src/foo/bar.js.