Je Xia
Je Xia
i guess it is **types** problem, i will look into it.
you can use `https://cdn.esm.sh/v64/[email protected]/es2021/react.bundle.js` instead, this is immutable.
nope, but the format is very simple and fixed: `https://cdn.esm.sh/BUILD_VERSION/PKG@VERSION/TARGET/PKG[.bundle].js`
currently esm.sh only provides ESM version that can be imported by URL.
or you can set the 'target' upper than **`es2018`** in the `deno.json` to support the `AsyncIterator` feature.
but i just tried in deno 1.18.2, seems it works without `deno.json` config
why not use deno std/hash module? ems.sh can't handle the `eval` case
there is a workaround maybe work: ``` import crypto from "https://esm.sh/crypto" globalThis.require = (name) => { if (name == "crypto") return crypto } import "@project-serum/anchor" ```
@AndCake can you please try again? seems it works in my case.
it seems the esbuild can not handle this