mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-06-22 17:21:35 +00:00
chore: upgrade @wasm-tool/wasm-pack-plugin to 1.0.1
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
// For more comments about what's going on here, check out the `hello_world`
|
||||
// example
|
||||
const rust = import('./pkg/add');
|
||||
const rust = import('./pkg');
|
||||
rust
|
||||
.then(m => alert('1 + 2 = ' + m.add(1, 2)))
|
||||
.catch(console.error);
|
||||
|
Reference in New Issue
Block a user