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
I agree for feature parity, tsx should assume that JSX can be used in any JS file if compilerOptions.jsx is enabled.
However, we currently skip compiling .js files that don't contain ESM, which gave us a notable performance boost. If we start compiling all .js files to support JSX, it would undo that performance gain.
Acknowledgements
Minimal reproduction URL
https://stackblitz.com/edit/node-axhph5?file=src%2Findex.ts
Problem & expected behavior (under 200 words)
Just run
pnpm start
, thenpnpm start2
.tsc
happily transforms the jsx in the js file.Bugs are expected to be fixed by those affected by it
Compensating engineering work will speed up resolution and support the project
The text was updated successfully, but these errors were encountered: