dillon1000/react

Commit

Include full error messages in React Native build (#15363)

The React Native build does not minify error messages in production,
but it still needs to run the error messages transform to compile
`invariant` calls to `ReactError`. To do this, I added a `noMinify`
option to the Babel plugin. I also renamed it from
`minify-error-messages` to the more generic `transform-error-messages`.
Browse files
Changed paths7 files
First-parent comparison
M scripts/error-codes/README.md ModifiedR scripts/error-codes/__tests__/__snapshots__/minify-error-messages.js.snap →scripts/error-codes/__tests__/__snapshots__/transform-error-messages.js.snap RenamedR scripts/error-codes/__tests__/minify-error-messages.js →scripts/error-codes/__tests__/transform-error-messages.js RenamedR scripts/error-codes/minify-error-messages.js →scripts/error-codes/transform-error-messages.js RenamedM scripts/jest/preprocessor.js ModifiedM scripts/rollup/build.js ModifiedM scripts/rollup/results.json Modified
Patch

Files changed

Rendering syntax-highlighted changes…