dillon1000/react

Commit

Disable consoleWithStackDev Transform except in RN/WWW (#30313)

Stacked on #30308.

This is now a noop module so we can stop applying the transform of
console.error using the Babel plugin in the mainline builds. I'm keeping
the transform for RN/WWW for now although it might be nice if the
transform moved into those systems as it gets synced instead of keeping
it upstream.

In jest tests we're already not running the forks for RN/WWW so we don't
need it at all there.
Browse files
Changed paths10 files
First-parent comparison
M packages/react-client/src/ReactClientConsoleConfigBrowser.js ModifiedM packages/react-client/src/ReactClientConsoleConfigPlain.js ModifiedM packages/react-client/src/ReactClientConsoleConfigServer.js ModifiedM packages/react-client/src/ReactFlightClient.js ModifiedM packages/react-reconciler/src/ReactFiberErrorLogger.js ModifiedM packages/shared/consoleWithStackDev.js ModifiedM scripts/jest/preprocessor.js ModifiedM scripts/print-warnings/print-warnings.js ModifiedM scripts/rollup/build-ghaction.js ModifiedM scripts/rollup/build.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…