-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
jsx: preserve in deno.json throws and error #21129
Comments
What would preserve mean in Deno? Wouldn't the jsx syntax error once sent to the runtime? |
I wanted to plug a custom jsx transform using some kind of loader plugin, but i could not manage to make it work yet. Also, if you want to use a different jsx transform and have TypeScript be ok with it (or at least WebStorm complains about it), you need to change |
The JSX |
Running JSX directly without any form of transpilation will never work because JSX is not valid JavaScript. What's being asked here is for a way to hook into Deno's transpilation process to configure custom JSX transforms like for Solid or other frameworks. This API doesn't exist in Deno at the time of this writing. The feature request for a module loading API to hook into is being tracked here #8327 . |
Or to just not perform JSX transpilation- I know it's not valid, and they know it ain't valid. But if their tooling needs the raw JSX so they can function correctly lol |
The text was updated successfully, but these errors were encountered: