Completed with typescript sample build
This commit is contained in:
parent
1b0eabf65c
commit
b04176248d
7
run
Executable file
7
run
Executable file
@ -0,0 +1,7 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
echo "install deps...."
|
||||||
|
cd www && npm install
|
||||||
|
|
||||||
|
echo "starting development server..."
|
||||||
|
npm start
|
@ -1,7 +1,5 @@
|
|||||||
// A dependency graph that contains any wasm must all be imported
|
// A dependency graph that contains any wasm must all be imported
|
||||||
// asynchronously. This `bootstrap.js` file does the single async import, so
|
// asynchronously. This `bootstrap.js` file does the single async import, so
|
||||||
// that no one else needs to worry about it again.
|
// that no one else needs to worry about it again.
|
||||||
// import("./index")
|
import("./index")
|
||||||
// .catch(e => console.error("Error importing `index.ts`:", e));
|
.catch(e => console.error("Error importing `index.ts`:", e))
|
||||||
|
|
||||||
import * as _ from "./index"
|
|
@ -3,7 +3,7 @@
|
|||||||
"outDir": "./dist/",
|
"outDir": "./dist/",
|
||||||
"noImplicitAny": true,
|
"noImplicitAny": true,
|
||||||
"sourceMap": true,
|
"sourceMap": true,
|
||||||
"module": "es6",
|
"module": "esnext",
|
||||||
"target": "es5",
|
"target": "es5",
|
||||||
"jsx": "react",
|
"jsx": "react",
|
||||||
"allowJs": true
|
"allowJs": true
|
||||||
|
Loading…
Reference in New Issue
Block a user