Skip to content

Commit 7fe8032

Browse files
committed
chore: update oxc recommendation message in swc plugin
1 parent e87a017 commit 7fe8032

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/plugin-react-swc/src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ type Options = {
7878
useAtYourOwnRisk_mutateSwcOptions?: (options: SWCOptions) => void
7979

8080
/**
81-
* If set, disables the recommendation to use `@vitejs/plugin-react-oxc`
81+
* If set, disables the recommendation to use `@vitejs/plugin-react`
8282
*/
8383
disableOxcRecommendation?: boolean
8484
}
@@ -158,7 +158,7 @@ const react = (_options?: Options): Plugin[] => {
158158
!options.disableOxcRecommendation
159159
) {
160160
config.logger.warn(
161-
'[vite:react-swc] We recommend switching to `@vitejs/plugin-react-oxc` for improved performance as no swc plugins are used. More information at https://vite.dev/rolldown',
161+
'[vite:react-swc] We recommend switching to `@vitejs/plugin-react` for improved performance as no swc plugins are used. More information at https://vite.dev/rolldown',
162162
)
163163
}
164164
},

0 commit comments

Comments
 (0)