Open
Description
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.