napi-rs / node-rs

Node.js bindings ❤️ Rust crates
https://node-rs.dev
MIT License
1.03k stars 32 forks source link

[xxhash] Can't resolve `@node-rs/xxhash-wasm32-wasi` #834

Closed folkvir closed 2 months ago

folkvir commented 2 months ago

Hello! I'm trying to build using rspack a bundle (target: browser) of an open-source Typescript package (https://github.com/Callidon/bloom-filters/tree/next/4.0.0):

Do you have any tips on how to finish this build? 🤔

Brooooooklyn commented 2 months ago

See https://github.com/napi-rs/node-rs/issues/810

folkvir commented 2 months ago

yarn add -P @node-rs/xxhash-wasm32-wasi --ignore-platform 👍 Now the problem is on the rspack side with their new wasm loader!