DEV Community

Rust and WebAssembly for the masses - wasm-bindgen

Sendil Kumar on January 02, 2020

Binding your WebAssembly and JavaScript with wasm-bindgen WebAssembly can only send and receive number between JavaScript and WebAssemb...
Collapse
 
beagleknight profile image
David Morcillo

Hi there! I just started with these blog post series and it has been great so far, congratulations!

I only detected an issue regarding the webpack configuration. The config file should be named webpack.config.js so webpack read it automatically. If it doesn't use the default name you need to provide the --config flag. (source: webpack.js.org/configuration/)

Cheers!

Collapse
 
sendilkumarn profile image
Sendil Kumar

Thanks I updated the post.

Collapse
 
palik profile image
Алексей Пастухов • Edited

Thank you for the taking the time and effort for writing this excellent post series!

For the case later posts don't mention wasm-pack, I'll do it here. It seems to me wasm-pack simplifies development process and do more code optimization.

Indeed wasm-pack got it's own blog post Build, test, pack and publish WASM modules with wasm-pack.