From fff09ae05c0dfeb80bf5a751df02adaea25b2b92 Mon Sep 17 00:00:00 2001 From: Kye Hohenberger <662750+tkh44@users.noreply.github.com> Date: Tue, 23 Sep 2025 10:38:31 -0500 Subject: [PATCH] Remove disableOxcRecommendation from readme The option was depreciated in `5.0.0-beta.0 (2025-07-28)` https://github.com/vitejs/vite-plugin-react/blob/plugin-rsc%400.4.31/packages/plugin-react/CHANGELOG.md#500-beta0-2025-07-28 --- packages/plugin-react/README.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/packages/plugin-react/README.md b/packages/plugin-react/README.md index b7ee2f3f7..c607891ca 100644 --- a/packages/plugin-react/README.md +++ b/packages/plugin-react/README.md @@ -127,10 +127,6 @@ Otherwise, you'll probably get this error: Uncaught Error: @vitejs/plugin-react can't detect preamble. Something is wrong. ``` -### disableOxcRecommendation - -If set, disables the recommendation to use `@vitejs/plugin-react-oxc` (which is shown when `rolldown-vite` is detected and `babel` is not configured). - ## Consistent components exports For React refresh to work correctly, your file should only export React components. You can find a good explanation in the [Gatsby docs](https://www.gatsbyjs.com/docs/reference/local-development/fast-refresh/#how-it-works).