serenity-kit / opaque

Secure password based client-server authentication without the server ever obtaining knowledge of the password. Implementation of the OPAQUE protocol.
https://opaque-auth.com
MIT License
45 stars 5 forks source link

Set up build with wasm-bindgen and rollup to inline wasm #44

Closed steos closed 1 year ago

steos commented 1 year ago

This removes use of wasm-pack and instead builds directly with cargo and wasm-bindgen and adds a rollup step to bundle the result with wasm inlined.

Where the build process previously was simply to run wasm-pack, write a package json and copy files (license, readme, typedefs) we now need to

all of this happens now in bin/build.js