-
-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use with Vite #92
Comments
I got the exactly same error but turned out that I can use the "argon2-bundled.min.js" instead
|
@Techiton Did you figure out a way to make this work? UpdateI was able to make it work with Astro/Vite based on https://github.com/antelle/argon2-browser/blob/master/docs/js/calc.js
Edit: ended up publishing my own npm package 8 months later: https://github.com/phi-ag/argon2 |
The easiest way to get it working is to use To enable TypeScript to recognize the types, include the following in your declare module "argon2-browser/dist/argon2-bundled.min.js" {
export * from "argon2-browser";
} |
How can i use this package with vite and astrojs, i was trying to implement this but i keep on getting this error
I tried installing the vite plugin and using
.wasm?init
or.wasm?url
and it still returns that errorThe text was updated successfully, but these errors were encountered: