Add some comments to the hello-world example

This commit is contained in:
Alex Crichton
2018-03-02 20:32:48 -08:00
parent e7f7f7864a
commit 98b9bee876
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,6 @@
// Note that a dynamic `import` statement here is required due to
// webpack/webpack#6615, but in theory `import { greet } from './hello_world';`
// will work here one day as well!
const js = import("./hello_world");
js.then(js => {