markerikson / react-prod-sourcemaps

A tool to update app sourcemaps with the original code of ReactDOM's production builds
MIT License
57 stars 2 forks source link

Add `x_google_ignoreList` (Ignore-listing code) support to sourcemaps #19

Open 0xdevalias opened 1 year ago

0xdevalias commented 1 year ago

Introduce the x_google_ignoreList extension in the sourcemaps generated by this project. This will facilitate a more streamlined debugging experience in Chrome (and other supporting browsers) by automatically filtering out framework and dependency code.

Benefit

Implementing x_google_ignoreList in the sourcemaps will align this project with modern web development practices, offering a more focused and efficient debugging experience for developers using Chrome DevTools. This change will particularly benefit those who regularly engage in debugging complex applications with numerous dependencies.

Background Context

See Also

Tangentially related issues for improving modern debugging support:

0xdevalias commented 1 year ago

Originally posted by @0xdevalias in https://github.com/facebook/react/issues/27774#issuecomment-1836969520