In next js build, wasm binaries are resolved by webpack when they are imported with parameter ?modul

In next js build, wasm binaries are resolved by webpack when they are imported with parameter ?module but Cloudflare workers doesn't need it (both *.wasm and *.wasm?module are resolved)

The package was recently updated, you should use wasm-image-optimization/next if you are using it in next.js project and wasm-image-optimization for workers
Was this page helpful?