Skip to content

Commit 7718eff

Browse files
committed
docs(readme): improve installation guide
1 parent ba611e1 commit 7718eff

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,17 @@ yarn add -D react-compiler-webpack
1313
pnpm add -D react-compiler-webpack
1414
```
1515

16+
`react-compiler-webpack` has already declares `babel-plugin-react-compiler` as its peer dependency and it will be installed automatically when you install `react-compiler-webpack` with most package managers. But you can also explictly specify the version you like by manually install `babel-plugin-react-compiler` in your project:
17+
18+
```bash
19+
# npm
20+
npm i -D babel-plugin-react-compiler
21+
# yarn
22+
yarn add -D babel-plugin-react-compiler
23+
# pnpm
24+
pnpm add -D babel-plugin-react-compiler
25+
```
26+
1627
## Usage
1728

1829
### webpack/rspack

0 commit comments

Comments
 (0)