wasmweb-sample/www/bootstrap.ts

7 lines
311 B
TypeScript
Raw Normal View History

2020-08-20 10:54:33 +07: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.
2020-08-20 11:42:43 +07:00
// import("./index")
// .catch(e => console.error("Error importing `index.ts`:", e));
import * as _ from "./index"