chore: upgrade @wasm-tool/wasm-pack-plugin to 1.0.1

This commit is contained in:
Sven Sauleau
2019-08-27 18:18:38 +01:00
parent a16253174a
commit 312f5d6dca
38 changed files with 39 additions and 39 deletions

View File

@ -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);