herumi / bls

288 stars 132 forks source link

Use modern ES6 exports for wasm js loader #64

Closed dapplion closed 3 years ago

dapplion commented 3 years ago

Follows the advice from @cggallant in https://github.com/emscripten-core/emscripten/issues/10114

Note that this will require coordinate changes in the consumer of the library

Check this diff of bls_c.js to see the impact of this flag https://www.diffchecker.com/nLKh3P65

dapplion commented 3 years ago

Superseeded by https://github.com/herumi/bls/pull/65