Skip to content
New issue

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

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

Already on GitHub? # to your account

Fix esm.sh urls #82

Open
hayd opened this issue Jul 25, 2022 · 1 comment
Open

Fix esm.sh urls #82

hayd opened this issue Jul 25, 2022 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@hayd
Copy link
Owner

hayd commented Jul 25, 2022

#64 (comment)

import * as x1 from "https://deno.land/x/fresh@1.0.1/";
import * as x2 from "https://esm.sh/preact@10.8.1";
import * as x3 from "https://esm.sh/preact@10.8.1/";
import * as x4 from "https://esm.sh/preact-render-to-string@5.2.0?deps=preact@10.8.1";
import * as x5 from "https://deno.land/x/fresh@1.0.1/";
import * as x6 from "https://esm.sh/v82/@trpc/server@10.0.0-alpha.22";

No idea what to do with ?deps here. 🤷

@hayd hayd added the help wanted Extra attention is needed label Jul 25, 2022
@jrson83
Copy link

jrson83 commented Aug 7, 2022

I also have an issue with deps from esm.sh. My deps.ts. I'm on Windows 11.

export * from "https://esm.sh/preact@10.10.1";
export { renderToString } from "https://esm.sh/preact-render-to-string@5.2.1?deps=preact@10.10.1";

When running udd depts.ts, nothing happens, it just console.logs deps.ts .

When I run deno run -A https://deno.land/x/udd/main.ts deps.ts it successfully updates the preact dependency, but does not touch preact-render-to-string since it includes ?deps.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants