satyarohith / sift

Sift is a routing and utility library for Deno Deploy.

Home Page:https://deno.land/x/sift

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unresolvable dependency import, in 0.5.0

milotheirself opened this issue · comments

commented

x.lcas.dev/preact imports in mod.ts are currently not resolvable.

error: Uncaught (in promise) TypeError: error sending request for url (https://x.lcas.dev/preact@10.5.12/mod.js): error trying to connect: dns error: Der angegebene Host ist unbekannt. (os error 11001)
    at https://deno.land/x/sift@0.5.0/mod.ts:24:15
  await import(entrypoint);

Can someone reproduce this?

I can reproduce this

Same here

Is anyone interested in taking this up?

We should replace https://x.lcas.dev/preact with https://esm.sh/preact and https://esm.sh/preact-render-to-string for SSR.

I'll be able to make a PR in a few hours.

commented

@satyarohith, can #71 or #72 be merged?