Does @node-rs/argon2 work on Cloudflare pages?

When I try to build locally I get the following error. Im using a M1 MacBook.
✘ [ERROR] Build failed with 1 error:

  ✘ [ERROR] No loader is configured for ".wasm" files:
  argon2.wasm32-wasi-JB7JJ664.wasm?url
  
      _worker.js:20508:22:
        20508 │ import __wasmUrl from "./argon2.wasm32-wasi-JB7JJ664.wasm?url";
              ╵                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  
  



✘ [ERROR] Failed to build _worker.js.
Was this page helpful?