mylofi / webauthn-local-client

Browser-only utils for locally managing WebAuthn (passkey) API
https://mylofi.github.io/webauthn-local-client/
MIT License
100 stars 3 forks source link

Support usage of library with bundlers #6

Closed getify closed 3 months ago

getify commented 3 months ago

attempting to provide proper meta-data (and code, via dist/only.index.js) to make this library friendly to bundlers

/CC @tonydangblog

getify commented 3 months ago

References:

getify commented 3 months ago

Had to go a whole different route and provide plugins for both vite and webpack, since it seems neither supports the proper config capabilities to handle copying-in and loading the external non-ESM dependency bundle.