ebc5567016f54f970fa57feb12474b95c299420e
1 // Note that a dynamic `import` statement here is required due to
2 // webpack/webpack#6615, but in theory `import { greet } from './pkg';`
3 // will work here one day as well!
4 const rust
= import('./pkg');
7 .then(m
=> m
.greet('Paul!'))