dillon1000/react
Commit
Browse files Gate inlined consoleWithStackDev transpilation (#30317)
This code is getting deleted in #30313 anyway but it should've been gated all along. This code exists to basically manually transpile console.error to consoleWithStackDev because the transpiler doesn't work on `.apply` or `.bind` or the dynamic look up. We only apply the transform in DEV so we should've only done this in DEV. Otherwise these logs get silenced in prod.
Changed paths3 files
First-parent comparisonpackages/react-client/src/ReactClientConsoleConfigBrowser.js ModifiedM packages/react-client/src/ReactClientConsoleConfigPlain.js ModifiedM packages/react-client/src/ReactClientConsoleConfigServer.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…