-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
38 lines (38 loc) · 1.1 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": {
"target": "ESNext",
"useDefineForClassFields": true,
"lib": ["DOM", "DOM.Iterable", "ESNext"],
"allowJs": false,
"skipLibCheck": true,
"esModuleInterop": false,
"allowSyntheticDefaultImports": true,
"strict": true,
"forceConsistentCasingInFileNames": true,
"module": "ESNext",
"moduleResolution": "Node",
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"jsx": "react-jsx",
"types": ["vite/client"],
"plugins": [
{
"name": "typescript-plugin-css-modules",
"options": { "classnameTransform": "camelCase" }
}
],
"baseUrl": ".",
"paths": {
"@/*": ["src/*"],
"@mocks/*": ["src/mocks/", "src/mocks/*"],
"@components/*": ["src/components/*", "src/components"],
"@utils/*": ["src/utils/", "src/utils/*"],
"@request/*": ["src/utils/request/", "src/utils/request/*"],
"@hooks/*": ["src/hooks", "src/hooks/*"],
"@pages/*": ["src/pages/", "src/pages/*"]
}
},
"include": ["src"],
"references": [{ "path": "./tsconfig.node.json" }]
}