Our current sourcemap parsing engine, source-map-js, is a fork of the original Mozilla module, but with several optimizations and without WASM.
This is not ideal because:
- Source map processing makes up for more than 2/3 of our bundle size
source-map-js also bundles a generator that we don't need
- it uses
new Function() internally, which is potentially dangerous
Ideally, we should be able to internally parse sourcemaps, and remove this single dependency that Sandworm currently has.

Our current sourcemap parsing engine,
source-map-js, is a fork of the original Mozilla module, but with several optimizations and without WASM.This is not ideal because:
source-map-jsalso bundles a generator that we don't neednew Function()internally, which is potentially dangerousIdeally, we should be able to internally parse sourcemaps, and remove this single dependency that Sandworm currently has.