In the latest betas, you can now enable preserve mode via
{
"suffix": ".res.jsx",
"jsx": {
"version": 4,
"preserve": true
},
}
However, this won’t get picked up if you use rescript legacy build.
This is deliberately, we hope to encourage you to move to the new build system.