dillon1000/react
Commit
Browse files 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.
Changed paths6 files
First-parent comparisonpackages/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 ModifiedPatch
Files changed
Rendering syntax-highlighted changes…