Skip to content

Commit 3bc159f

Browse files
committed
Update JSXV4.md
1 parent 910d825 commit 3bc159f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

res_syntax/cli/JSXV4.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ To build an entire project in V4 mode, including all its dependencies, use the n
1818
### Dependency-level config
1919

2020
Dependencies inherit the `jsx` configuration of the root project. So if the root project uses V4 then the dependencies are built using V4, and the same for V3.
21-
To build certain dependencies in V3 compatibility mode, whatever the version used in the root project, use `"v3-dependencies"`: the listed dependencies will be built in V3 mode, and in addition `-open ReatcV3` is added to the compiler options.
21+
To build certain dependencies in V3 compatibility mode, whatever the version used in the root project, use `"v3-dependencies"`: the listed dependencies will be built in V3 mode, and in addition `-open ReactV3` is added to the compiler options.
2222

2323
For example, suppose a V3 project uses rescript-react 0.11, which requires compatibility mode if compiled with V3, and that 2 dependencies `"rescript-react-native", "rescript-react-navigation"` only build with compatibility mode. Then the setting will be:
2424

0 commit comments

Comments
 (0)