You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
for now I have to download the dnt source code and run it locally to avoid having to download wasm from the network every time I start up. This greatly improves startup efficiency. but I wish there was a better way.
The text was updated successfully, but these errors were encountered:
Gaubee
changed the title
wasm files are always downloaded from the network
wasm files are always download from the network
May 28, 2023
Gaubee
changed the title
wasm files are always download from the network
wasm file was always download from the network
May 28, 2023
if use
import { build } from "https://deno.land/x/dnt/mod.ts";
the wasm file's url will be
https://deno.land/x/dnt/lib/pkg/dnt_wasm_bg.wasm
.https://github.com/denoland/dnt/blob/main/lib/pkg/dnt_wasm.generated.js#L635
it will run
fetch(wasmUrl)
, without import from local:for now I have to download the dnt source code and run it locally to avoid having to download wasm from the network every time I start up. This greatly improves startup efficiency. but I wish there was a better way.
The text was updated successfully, but these errors were encountered: