Completed with typescript sample build

This commit is contained in:
Sambo Chea 2020-08-20 12:33:29 +07:00
parent 1b0eabf65c
commit b04176248d
3 changed files with 10 additions and 5 deletions

7
run Executable file
View File

@ -0,0 +1,7 @@
#!/bin/bash
echo "install deps...."
cd www && npm install
echo "starting development server..."
npm start

View File

@ -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"
import("./index")
.catch(e => console.error("Error importing `index.ts`:", e))

View File

@ -3,7 +3,7 @@
"outDir": "./dist/",
"noImplicitAny": true,
"sourceMap": true,
"module": "es6",
"module": "esnext",
"target": "es5",
"jsx": "react",
"allowJs": true