-
-
Notifications
You must be signed in to change notification settings - Fork 180
/
Copy pathtsconfig.json
executable file
·51 lines (51 loc) · 1.21 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
{
// https://janessagarrow.com/blog/typescript-and-esbuild/
"compilerOptions": {
"lib": [
"DOM",
"ESNext",
"DOM.Iterable"
],
// "types": ["@types/node", "vite", "vite/client", "@thednp/event-listener", "@thednp/shorty"],
"types": [
"@thednp/event-listener",
"@thednp/shorty"
],
"rootDir": "./",
"baseUrl": "./",
"module": "ESNext",
"target": "ESNext",
"moduleResolution": "Bundler",
"allowJs": true,
"forceConsistentCasingInFileNames": 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"
],
}