Skip to content

Commit 2b0a0ce

Browse files
fix: correct vite pkg name
1 parent d52a6c2 commit 2b0a0ce

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

packages/plugin-react-swc/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ react({
119119

120120
### disableOxcRecommendation
121121

122-
If set, disables the recommendation to use `vite-plugin-react-oxc` (which is shown when `rolldown-vite` is detected and neither `swc` plugins are used nor the `swc` options are mutated).
122+
If set, disables the recommendation to use `@vitejs/plugin-react-oxc` (which is shown when `rolldown-vite` is detected and neither `swc` plugins are used nor the `swc` options are mutated).
123123

124124
```ts
125125
react({ disableOxcRecommendation: true })

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

Lines changed: 1 addition & 1 deletion
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 `vite-plugin-react-oxc`
81+
* If set, disables the recommendation to use `@vitejs/plugin-react-oxc`
8282
*/
8383
disableOxcRecommendation?: boolean
8484
}

packages/plugin-react/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ Uncaught Error: @vitejs/plugin-react can't detect preamble. Something is wrong.
131131

132132
### disableOxcRecommendation
133133

134-
If set, disables the recommendation to use `vite-plugin-react-oxc` (which is shown when `rolldown-vite` is detected and `babel` is not configured).
134+
If set, disables the recommendation to use `@vitejs/plugin-react-oxc` (which is shown when `rolldown-vite` is detected and `babel` is not configured).
135135

136136
## Consistent components exports
137137

packages/plugin-react/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ export interface Options {
6464
reactRefreshHost?: string
6565

6666
/**
67-
* If set, disables the recommendation to use `vite-plugin-react-oxc`
67+
* If set, disables the recommendation to use `@vitejs/plugin-react-oxc`
6868
*/
6969
disableOxcRecommendation?: boolean
7070
}

0 commit comments

Comments
 (0)