MasterKale / SimpleWebAuthn

WebAuthn, Simplified. A collection of TypeScript-first libraries for simpler WebAuthn integration. Supports modern browsers, Node, Deno, and more.
https://simplewebauthn.dev
MIT License
1.62k stars 137 forks source link

fix(server): ignore `import("node:crypto")` by webpack #518

Closed balazsorban44 closed 9 months ago

balazsorban44 commented 9 months ago

Fixes #517

MasterKale commented 9 months ago

This fix to support Next.js's Edge runtime was identified here:

https://github.com/MasterKale/SimpleWebAuthn/issues/517#issuecomment-1933460685