Closed 0xdevalias closed 8 months ago
The source maps specification has adopted the
ignoreList
field instead ofx_google_ignoreList
and DevTools now supports the new name with a fallback for the old one. Frameworks and bundlers can now use the new field name.
Was added in https://github.com/facebook/react/pull/28310 but it doesn't really help much since it's not forwarded by most bundlers anyway atm.
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: