dillon1000/react

Commit

Don't extract errors in CI (#15758)

Removes `--extract-errors` argument from CI build script command.
Instead, the author is expected to run `yarn extract-errors` locally
or manually edit the error code map.

The lint rule should be sufficient to catch unminified errors, but
as an extra precaution, I added a post-build step that greps the
production bundles. The post-build step works even if someone disables
the lint rule for a specific line or file.
Browse files
Changed paths5 files
First-parent comparison
M .circleci/config.yml ModifiedD scripts/circleci/build.sh DeletedA scripts/circleci/check_minified_errors.sh AddedM scripts/error-codes/__tests__/__snapshots__/transform-error-messages.js.snap ModifiedM scripts/error-codes/transform-error-messages.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…