-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
executable file
·61 lines (61 loc) · 1.42 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
{
"compilerOptions": {
/** vue 3 cli setup */
"composite": true,
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
/** webpack: https://webpack.js.org/configuration/configuration-languages/#typescript */
"allowSyntheticDefaultImports": true,
"esModuleInterop": true,
/** custom */
"module": "NodeNext",
"moduleResolution": "NodeNext",
"baseUrl": ".",
"outDir": "src/@types",
"paths": {
"@/*": [
"src/*",
"src/*/index.ts"
],
"@scripts/*": [
"src/scripts/*",
"src/scripts/*/index.ts"
],
"@modules/*": [
"src/modules/*",
"src/modules/*/index.vue"
],
"@components/*": [
"src/modules/components/*",
"src/modules/components/*/index.vue"
],
"@store/*": [
"src/store/*",
"src/store/*/index.ts"
],
/** to prevent: Cannot find module '@store' or its corresponding type declarations. ts-plugin(2307) */
"@store": [
"src/store/index.ts"
]
},
"lib": [
"ESNext",
"DOM"
],
"types": ["node"]
},
"include": [
"src/main.ts",
"configs/**/*.ts",
"src/store/**/*.ts",
"src/scripts/**/*.ts",
"src/modules/**/*.vue",
"src/@types/shims-vue.d.ts"
],
"exclude": ["www", "node_modules"],
/** webpack */
"ts-node": {
"compilerOptions": {
"module": "CommonJS"
}
}
}