diff --git a/run b/run new file mode 100755 index 0000000..c87e928 --- /dev/null +++ b/run @@ -0,0 +1,7 @@ +#!/bin/bash + +echo "install deps...." +cd www && npm install + +echo "starting development server..." +npm start diff --git a/www/bootstrap.ts b/www/bootstrap.ts index b39ed23..38c400e 100644 --- a/www/bootstrap.ts +++ b/www/bootstrap.ts @@ -1,7 +1,5 @@ // 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") -// .catch(e => console.error("Error importing `index.ts`:", e)); - -import * as _ from "./index" \ No newline at end of file +import("./index") + .catch(e => console.error("Error importing `index.ts`:", e)) \ No newline at end of file diff --git a/www/tsconfig.json b/www/tsconfig.json index a9c9092..1c7a477 100644 --- a/www/tsconfig.json +++ b/www/tsconfig.json @@ -3,7 +3,7 @@ "outDir": "./dist/", "noImplicitAny": true, "sourceMap": true, - "module": "es6", + "module": "esnext", "target": "es5", "jsx": "react", "allowJs": true