-
Notifications
You must be signed in to change notification settings - Fork 624
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
Cannot use automatic jsx runtime in fresh #382
Comments
The automatic runtime configured via deno.json is not supported in Deno Deploy as of now. |
@lucacasonato thanks for the info, much appreciated :) |
@lucacasonato is there a work-a-round in the meantime? I am working on a React component library that relies on the automatic import of |
FYI: automatic JSX runtime support was recently added to esbuild via evanw/esbuild#2349. That means, at the very least, files inside |
Deno Deploy now also supports automatic runtime via |
That is to say: automatic JSX runtime coming to a fresh near you soon! |
@lucacasonato if this isn’t already being worked on, I’d be happy to take a stab at it |
I'm already working on it. Thanks for the offer though! (Currently blocked by an upstream Deno bug) |
Update: the upstream bug should be fixed in Deno 1.24.3. |
JSX automatic mode support has landed in #610. It will be part of next weeks' Fresh 1.1.0 release. |
I changed my deno.json to:
but it doesn't work due to several lines in the fresh codebase explicitly setting
Is there a reason for this? Why not use the automatic runtime always?
The text was updated successfully, but these errors were encountered: