From 45d4e91509c9de281913dcb8c0cffe252a0204a6 Mon Sep 17 00:00:00 2001 From: Bodhi Silberling Date: Mon, 19 Jan 2026 19:33:07 -0800 Subject: [PATCH] Fix outdated documentation: replace 'Gulp plugin' with 'extract-errors.js script' The error-codes README incorrectly referenced a 'Gulp plugin' for generating codes.json. This has been updated to accurately reflect that the codes.json file is generated by the extract-errors.js script. --- scripts/error-codes/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/error-codes/README.md b/scripts/error-codes/README.md index 38918bd42a5..c00bb4bd2a2 100644 --- a/scripts/error-codes/README.md +++ b/scripts/error-codes/README.md @@ -4,7 +4,7 @@ provide a better debugging support in production. Check out the blog post - [`codes.json`](https://github.com/facebook/react/blob/main/scripts/error-codes/codes.json) contains the mapping from IDs to error messages. This file is generated by the - Gulp plugin and is used by both the Babel plugin and the error decoder page in + `extract-errors.js` script and is used by both the Babel plugin and the error decoder page in our documentation. This file is append-only, which means an existing code in the file will never be changed/removed. - [`extract-errors.js`](https://github.com/facebook/react/blob/main/scripts/error-codes/extract-errors.js)