endojs / endo

Endo is a distributed secure JavaScript sandbox, based on SES
Apache License 2.0
761 stars 68 forks source link

ses: source maps #2329

Open boneskull opened 1 week ago

boneskull commented 1 week ago

What is the Problem Being Solved?

ses ships bundles, yet it ships no source maps. This can make debugging more challenging than necessary when consuming ses via a CJS package.

Description of the Design

As part of the build process for ses, *.js in dist/ should have an associated *.js.map file.

These files should be shipped when ses is published.

Security Considerations

none

Scaling Considerations

none

Test Plan

depends if we have to hand-roll it. if we do, then we should assert the generated source maps are at least valid / parseable.

Compatibility Considerations

none

Upgrade Considerations

none