-
Notifications
You must be signed in to change notification settings - Fork 66
/
Copy pathtsconfig-build.json
58 lines (58 loc) · 1.27 KB
/
tsconfig-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
56
57
58
{
"compilerOptions": {
"target": "es2017",
"module": "es6",
"removeComments": true,
"preserveConstEnums": true,
"moduleResolution": "node",
"experimentalDecorators": true,
"noImplicitAny": false,
"allowSyntheticDefaultImports": true,
"outDir": "dist/weapp",
"noUnusedLocals": true,
"noUnusedParameters": true,
"strictNullChecks": true,
"sourceMap": false,
"baseUrl": ".",
// "rootDir": ".",
"jsx": "preserve",
"jsxFactory": "Taro.createElement",
"allowJs": false,
"resolveJsonModule": true,
"declaration": true,
"declarationDir": "./dist/@types",
"typeRoots": [
"node_modules/@types",
"global.d.ts",
"./src/component/taro-plugin-canvas/types.ts",
],
"paths": {
"components": [
"./src/components/index.ts"
],
"components/*": [
"./src/components/*"
],
"models": [
"./src/models/index.ts"
],
"utils/*": [
"./src/utils/*"
],
"package": [
"./package.json"
]
}
},
"exclude": [
"node_modules",
"dist"
],
"include": [
"src/components/*",
"src/index.ts",
"src/component/taro-plugin-canvas/types.ts",
"src/component/**/*"
],
"compileOnSave": false
}