Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support "jsx": "preserve" tsconfig? #14

Open
isaacs opened this issue Oct 19, 2023 · 2 comments
Open

support "jsx": "preserve" tsconfig? #14

isaacs opened this issue Oct 19, 2023 · 2 comments

Comments

@isaacs
Copy link
Owner

isaacs commented Oct 19, 2023

Right now, tshy assumes that .tsx will always be built to .js. However, if the tsconfig has "jsx": "preserve", then that won't be the case, it'll be .jsx instead.

@isaacs
Copy link
Owner Author

isaacs commented Oct 25, 2023

Going to do this as soon as someone comes along and says they need it (or submits a PR to do it). Until then, this issue can just hang out and avoid the complexity, because I use React for all my JSX anyway.

@DaniGuardiola
Copy link

I plan on using tshy to compile some Solid.js code, so I guess I'll need this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants