Skip to content
This repository was archived by the owner on Jun 15, 2023. It is now read-only.

Commit 23fe56f

Browse files
committed
JSX v3 compatibility mode.
1 parent 29cd95e commit 23fe56f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cli/JSXV4UPGRADE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@
3838
3939
d. Dependencies
4040
Dependencies inherit the jsx configuration of the root project.
41-
To preserve the jsx configuration specified in a project, use `"preserve-dependencies"` as in the example:
41+
To build certain dependencies in JSX V3 compatibility mode, use `"v3-dependencies"` as in the example:
4242

4343
```json
44-
"jsx": { "version": 4, "preserve-dependencies": ["rescript-react-navigation"] }
44+
"jsx": { "version": 4, "v3-dependencies": ["rescript-react-navigation"] }
4545
```

0 commit comments

Comments
 (0)