Skip to content

Commit

Permalink
Debug IDs: Add implementors section (#152)
Browse files Browse the repository at this point in the history
  • Loading branch information
lforst authored Nov 26, 2024
1 parent 1bd4b5c commit f4e911a
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions proposals/debug-id.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,19 @@ Note: While polyfilling is possible and is in wide production use already[^1], w
- The polyfills inflate bundle-size more than necessary
- Chicken-and-egg situations with [Subresource Integrity](https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity)

## Implementors

The following Source Map **Generators** have implemented Debug IDs as proposed:

- Rollup ([`output.sourcemapDebugIds` option](https://rollupjs.org/configuration-options/#output-sourcemapdebugids))
- Oxc ([`debug_id` API](https://docs.rs/oxc/latest/oxc/sourcemap/struct.JSONSourceMap.html#structfield.debug_id))
- Expo ([Injected by default](https://docs.expo.dev/versions/latest/config/metro/#source-map-debug-id))
- Rolldown ([`output.sourcemapDebugIds` option](https://github.com/rolldown/rolldown/pull/2516))

The following Source Map **Consumers/Debuggers** have implemented Debug IDs:

- Sentry.io ([Docs](https://docs.sentry.io/platforms/javascript/sourcemaps/troubleshooting_js/artifact-bundles/#artifact-bundles))

## Questions

- How should the `//# debugId=...` comment be parsed by consuming tools and JavaScript engines?
Expand Down

0 comments on commit f4e911a

Please sign in to comment.