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,7 +1,7 @@
// Note that a dynamic `import` statement here is required due to
// webpack/webpack#6615, but in theory `import { greet } from './pkg/hello_world';`
// webpack/webpack#6615, but in theory `import { greet } from './pkg';`
// will work here one day as well!
const rust = import('./pkg/hello_world');
const rust = import('./pkg');
rust
.then(m => m.greet('World!'))