-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Multi deno.json resolver scopes fails for JSX #24293
Comments
I can't reproduce this, the TSConfig including the jsx configuration should be sourced from the |
Okay I reproduced it, it's happening because the |
Thanks for the reply @nayeemrmn, so should this be closed as duplicate of denoland/vscode_deno#488? |
Let's keep tracking it here as well for searchability. |
I'm having a similar issue even though I have a single deno.jsonc file. I verified it was related to the same commit by checking out the one before to verify I had no issue then, and checking out the commit for multi deno.json resolver scopes. |
With Deno v1.44.4 this is still failing for me. Please take a look: Screencast.from.2024-06-28.23-03-09.mp4 |
Please @nayeemrmn could you take a look? Am I missing some configuration to make it work properly? Thanks 🙏🏼 |
@sant123 The feature hasn't released yet, try with |
I knew I was missing something, it works like a charm with Deno canary: Screencast.from.2024-06-28.23-14-31.mp4Thank you so much @nayeemrmn !!! |
Version: Deno 1.44.4
From #24206
I have a web application that renders HTML with hono/jsx. However I want to create some aliases for my JS client to use React.
This is my project structure:
deno.json (server)
Notice how client.js is in red, this is because it can't resolve
react
which is expected:So I add a deno.json on the client:
Now client.js is in green:
But Layout.tsx now fails because is loading React JSX by default but hono/jsx:
Is there a way to apply JSX configuration only to the directory that holds deno.json on the client? Notice Layout.tsx is a folder upper static folder; so it should read the configuration of deno.json on the server.
Thanks.
The text was updated successfully, but these errors were encountered: