-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
tsconfig.json
executable file
·36 lines (36 loc) · 1.04 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
{
// https://janessagarrow.com/blog/typescript-and-esbuild/
"compilerOptions": {
"lib": ["DOM", "ESNext", "DOM.Iterable"],
// "types": ["vite", "vite/client"],
"rootDir": "./",
"baseUrl": "./",
"module": "ESNext",
"target": "ESNext",
"moduleResolution": "Bundler",
"allowJs": true,
"forceConsistentCasingInFileNames": true,
"resolvePackageJsonImports": true,
"useDefineForClassFields": true,
"strict": true,
"sourceMap": true,
"resolveJsonModule": true,
"esModuleInterop": true,
"isolatedModules": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noImplicitReturns": true,
"removeComments": false,
"allowSyntheticDefaultImports": true,
"noEmit": true,
"checkJs": true,
"skipLibCheck": true, // allows dts-bundle-generator to import from package.json
"paths": {
"~/*": [
"./src/*"
],
}
},
"include": ["src/*", "src/**/*"],
"exclude": ["node_modules", "experiments", "coverage", "dist"],
}