Skip to content

Replace source-map-js dependency #28

Open
@gabidobo

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.

image

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions