-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathtsconfig.json
51 lines (51 loc) · 1.13 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
{
"compilerOptions": {
"jsx": "preserve",
"jsxImportSource": "vue",
// 目标 ECMAScript 版本
"target": "esnext",
// 模块解析策略
"module": "esnext",
// 启用所有严格类型检查选项
"strict": true,
// 启用默认导出的 esModuleInterop
"esModuleInterop": true,
// 在文件名中强制使用一致的大小写
"forceConsistentCasingInFileNames": true,
// 模块解析策略
"moduleResolution": "Bundler",
// 允许导入 JSON 模块
"resolveJsonModule": true,
// 每个文件都作为单独的模块进行处理
"isolatedModules": true,
"lib": [
"dom",
"esnext",
"dom.iterable"
],
"types": [
"vitest/config",
"vite/client"
],
"paths": {
"@/*": [
"./packages/core/*"
],
"@vue-styled-components/core": [
"./packages/core/index"
]
},
"skipLibCheck": true
},
// 需要编译的文件或目录
"include": [
"packages",
"vite.config.ts"
],
// 排除的文件或目录
"exclude": [
"./*/node_modules",
"./*/dist",
],
"compileOnSave": false
}