-
-
Notifications
You must be signed in to change notification settings - Fork 71
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 jsxImportSource #233
Comments
hey @andreespirela is there a way to get it running quickly? where I need to change to force a specific jsxImportSource? |
By the way: I managed to have it working by changing all .tsx files and added manually the jsx pragma: https://docs.deno.com/runtime/manual/advanced/jsx_dom/jsx Sadly, it's not scalable. Is there a way to add this in a single place? even within my internal fork. |
Hey @nyannyacha, can you help us? We have an entire company (https://deco.cx) waiting for this. so this can unblock running https://github.com/denoland/fresh sites. |
Perhaps @laktek 👀 can you provide some guidance? I’m not a pro rust programmer but I think would be a good first issue |
@mcandeia Hey there! Will be taking care of this this week. |
Amazing @andreespirela, please let me know if you have any progress on this, can be a WIP. We are planning to have a launch of our new product version on April 1st and would be amazing to have edge-runtime running our sites, don't hesitate to reach me out if needed |
Hey @andreespirela any progress on this? Looking forward to see it running fresh sites |
Just to let you know, I managed to have it working with an old version of this repository. But when I tried to apply my changes in the latest versions it did not work. looks a regression for me, I'm receiving a "Path not found" for a dependency that is required, ![]() To reproduce just clone and run (./scripts/run.sh) the following PR |
Note: edge-runtime/crates/sb_fs/virtual_fs.rs Lines 438 to 488 in 5420f03
edge-runtime/crates/sb_fs/static_fs.rs Lines 317 to 322 in 5420f03
|
I'm trying to understand the overall architecture, will try to fix it. npm dependencies should be fetched from vfs or static fs ? It looks like a symlink to me, maybe a hard instead of a soft ? Will check |
I've removed the dependency of code: https://denopkg.com/deco-sites/[email protected]/utils/worker.ts Then I removed the worker code and ![]() |
There's a lot of work to do, but I'm pretty confident that is possible to run fresh sites. |
Awesome @andreespirela!! How about the other problems I mentioned (web workers and path not found errors)? Should I create a different issue for those or do you have any clue about that? |
@mcandeia I believe it will be fixed with this PR |
@andreespirela you mean the WebWorker error and the path not found? It seems unrelated to me, but I'll very happy if it fixes both problems. |
Looking forward for it @andreespirela ! |
Chore
Describe the chore
Currently deno supports jsxImportSource via deno.json, https://docs.deno.com/runtime/manual/advanced/jsx_dom/jsx
is there a way to support the same passing as parameter of createworker?
The text was updated successfully, but these errors were encountered: