dillon1000/react

Commit

feat[devtools]: ship source maps for content scripts and ignore list installHook script (#28730)

## Summary

1. RDT browser extension's content scripts will now ship source maps
(without source in prod, to save some bundle size).
2. `installHook` content script will be ignore listed via `ignoreList`
field in the corresponding source map.
3. Previously, source map for backend file used `x_google_ignoreList`
naming, now `ignoreList`.

## How did you test this change?

1. `ignoreList-test.js`
2. Tested manually that I don't see `installHook` in stack traces when
`console.error` is called.
Browse files
Changed paths6 files
First-parent comparison
M packages/react-devtools-extensions/package.json ModifiedR packages/react-devtools-extensions/src/__tests__/xGoogleIgnoreList-test.js →packages/react-devtools-extensions/src/__tests__/ignoreList-test.js RenamedM packages/react-devtools-extensions/webpack.backend.js ModifiedM packages/react-devtools-extensions/webpack.config.js ModifiedA packages/react-devtools-shared/SourceMapIgnoreListPlugin.js AddedM yarn.lock Modified
Patch

Files changed

Rendering syntax-highlighted changes…