-
Notifications
You must be signed in to change notification settings - Fork 14
/
.build.json
55 lines (55 loc) · 1.24 KB
/
.build.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
{
"log": {
"enabled": false,
"debug": false,
"console": true
},
"profiles": {
"serve": ["serve"],
"production": ["clean", "compile", "lint"],
"development": ["serve", "watch", "compile"]
},
"clean": {
"locations": ["dist/*", "types/*", "typedoc/*"]
},
"lint": {
"locations": [ "src/**/*.ts" ],
"rules": { }
},
"watch": {
"locations": [ "src/**/*" ]
},
"serve": {
"sslKey": "node_modules/@vladmandic/build/cert/https.key",
"sslCrt": "node_modules/@vladmandic/build/cert/https.crt",
"httpPort": 9000,
"httpsPort": 9001,
"documentRoot": ".",
"defaultFolder": "src",
"defaultFile": "index.html"
},
"build": {
"global": {
"target": "esnext",
"sourcemap": true,
"treeShaking": true,
"ignoreAnnotations": false,
"minify": true,
"format": "esm",
"platform": "browser",
"banner": { "js": "/*\n Human: Motion Analytics Demo\n author: <https://github.com/vladmandic>'\n*/\n" }
},
"targets": [
{
"name": "index",
"input": "src/index.ts",
"output": "dist/index.js"
},
{
"name": "worker",
"input": "src/worker.ts",
"output": "dist/worker.js"
}
]
}
}