Hi @Fattafatta , @cristianoc just fixed your problem in Fix issue with preserve mode where `jsx` is declared as an external w… by cristianoc · Pull Request #7591 · rescript-lang/rescript · GitHub
You can try npm i https://pkg.pr.new/rescript-lang/rescript@7591 if you like.