You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 16, 2023. It is now read-only.
The preserve mode will keep the JSX as part of the output to be further consumed by another transform step (e.g. Babel)
If I understand correctly the JSX transformation is not performed by @babel/preset-typescript but by @babel/preset-react, so what is the point to declare a JSX transformation in the tsconfig? Setting preserve can also be useful for supporting the new JSX transform: in the tsconfig we can specify always preserve and let babel decide how to transform the JSX code