wasm-game-of-life-www/bootstrap.js

6 lines
279 B
JavaScript
Raw Normal View History

2021-05-11 00:02:50 +02:00
// A dependency graph that contains any wasm must all be imported
// asynchronously. This `bootstrap.js` file does the single async import, so
// that no one else needs to worry about it again.
import("./index.js")
.catch(e => console.error("Error importing `index.js`:", e));