mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-06-22 09:11:35 +00:00
chore: upgrade @wasm-tool/wasm-pack-plugin to 1.0.1
This commit is contained in:
@ -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!'))
|
||||
|
Reference in New Issue
Block a user