-
Notifications
You must be signed in to change notification settings - Fork 22
/
tsconfig.json
38 lines (38 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
{
"compilerOptions": {
"experimentalDecorators": true,
"moduleResolution": "node",
"module": "esnext",
"target": "esnext",
"outDir": "lib",
"declaration": true,
"sourceMap": true,
"lib": ["esnext", "dom", "DOM.Iterable"],
"importHelpers": true,
"allowSyntheticDefaultImports": true,
"baseUrl": "./",
"paths": {
"tdesign-web-components": ["src"],
"tdesign-web-components/*": ["src/*"],
"@test/utils": ["test/utils"],
"@common/*": ["src/_common/*"],
"@": ["src"]
},
"allowImportingTsExtensions": true,
"noEmit": true,
"jsx": "preserve",
"jsxFactory": "h",
"jsxFragmentFactory": "h.f",
"allowJs": true,
"checkJs": true,
"downlevelIteration": true,
"esModuleInterop": true
},
"include": ["src", "site", "typings.d.ts"],
"exclude": ["**/*.jsx", "**/**/_usage/*", "**/**/__tests__/*", "node_modules", "src/_common", "dist", "lib", "esm", "cjs", "es"],
"types": [
"node",
"vitest/globals",
],
"compileOnSave": false
}