Skip to content

Commit fb162b2

Browse files
authored
Update jsx configuration schema (#7755)
* Update jsx configuration schema * Add changelog entry
1 parent 81f4b2f commit fb162b2

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@
2626

2727
#### :memo: Documentation
2828

29+
- Update jsx schema configuration. https://github.com/rescript-lang/rescript/pull/7755
30+
2931
#### :nail_care: Polish
3032

3133
#### :house: Internal

docs/docson/build-schema.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -311,10 +311,9 @@
311311
"type": "string",
312312
"description": "JSX module. Either \"react\" for React, or (since v11.1) any valid module name to apply a generic JSX transform."
313313
},
314-
"mode": {
315-
"type": "string",
316-
"enum": ["classic", "automatic"],
317-
"description": "JSX transformation mode"
314+
"preserve": {
315+
"type": "boolean",
316+
"description": "Whether to preserve the JSX in the output. Requires `version` to be set."
318317
}
319318
},
320319
"additionalProperties": false

0 commit comments

Comments
 (0)