From dbed370279628284ae0dd9f706d90eff1896b195 Mon Sep 17 00:00:00 2001 From: nojaf Date: Mon, 4 Aug 2025 13:37:49 +0200 Subject: [PATCH 1/2] Update jsx configuration schema --- docs/docson/build-schema.json | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/docs/docson/build-schema.json b/docs/docson/build-schema.json index 41686b909b..fa46f507e6 100644 --- a/docs/docson/build-schema.json +++ b/docs/docson/build-schema.json @@ -311,10 +311,9 @@ "type": "string", "description": "JSX module. Either \"react\" for React, or (since v11.1) any valid module name to apply a generic JSX transform." }, - "mode": { - "type": "string", - "enum": ["classic", "automatic"], - "description": "JSX transformation mode" + "preserve": { + "type": "boolean", + "description": "Whether to preserve the JSX in the output. Requires `version` to be set." } }, "additionalProperties": false From a3fb96903169fbf8e685d525f919d949223645fb Mon Sep 17 00:00:00 2001 From: nojaf Date: Mon, 4 Aug 2025 14:26:26 +0200 Subject: [PATCH 2/2] Add changelog entry --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2917714028..d6535c7a4e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -26,6 +26,8 @@ #### :memo: Documentation +- Update jsx schema configuration. https://github.com/rescript-lang/rescript/pull/7755 + #### :nail_care: Polish #### :house: Internal