ZombieB
ZombieB3h ago

npm:@img/sharp-wasm32 package on Deno 2.5.0

Hi, I'm attempting to use sharp's WebAssembly package on Deno. The native binaries for the package don't work with deno compile AFAIK, so I'm trying wasm. Do I need to install npm:@img/sharp-wasm32 as well as npm:sharp? I can't seem to import anything from the former.
import sharp from "npm:@img/sharp-wasm32";
// NPM package "@img/sharp-wasm32@^0.34.3" does not define an export ".".
import sharp from "npm:@img/sharp-wasm32";
// NPM package "@img/sharp-wasm32@^0.34.3" does not define an export ".".
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?