-
Notifications
You must be signed in to change notification settings - Fork 6
/
tsconfig.json
46 lines (46 loc) 路 1.03 KB
/
tsconfig.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
{
"compilerOptions": {
"declaration": true,
"allowJs": true,
"target": "esnext",
"module": "esnext",
"strict": true,
"sourceMap": true,
"jsx": "preserve",
"moduleResolution": "node",
"resolveJsonModule": true,
"esModuleInterop": true,
"rootDir": "./src",
"baseUrl": "./", // types鏂囦欢澶圭殑鐩稿璺緞
"paths": {
"*": [
"types/*"
],
"src/*": ["./src/*"]
},
"lib": [
"es2021",
"dom"
],
"types": [
"chrome",
"jest",
"node",
"webextension-polyfill"
]
},
"isolatedModules": true,
"exclude": [
"src/**/*.html",
"src/popup/content/main.ts",
"src/options/index.ts",
"src/inject/jungle.js"
],
"include": [
"src/*",
"src/**/*.ts",
"src/**/*.tsx",
"src/**/**/*.vue",
"src/popup/content"
]
}