-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
46 lines (46 loc) · 1.33 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
{
"extends": "@tsconfig/svelte/tsconfig.json",
"compilerOptions": {
"target": "ESNext",
"useDefineForClassFields": true,
"module": "ESNext",
"moduleResolution": "Bundler",
"baseUrl": ".",
"allowJs": true,
"checkJs": true,
"isolatedModules": true,
"strict": true, // Enable all strict type-checking options
"esModuleInterop": true, // Improves compatibility with CommonJS modules
"allowSyntheticDefaultImports": true, // Allows default imports from modules with no default export
"skipLibCheck": true, // Skip type checking of declaration files
"resolveJsonModule": true, // Allows importing JSON files as modules
"paths": {
"$lib/*": [
"./src/lib/*"
],
"$pages/*": [
"./src/pages/*"
],
"$components/*": [
"./src/lib/components/*"
],
"$utils/*": [
"./src/utils/*"
],
"$settings/*": [
"./src/pages/settings/*"
]
}
},
"include": [
"src/**/*.d.ts",
"src/**/*.ts",
"src/**/*.js",
"src/**/*.svelte",
],
"references": [
{
"path": "./tsconfig.node.json"
}
]
}