-
Notifications
You must be signed in to change notification settings - Fork 177
/
tsconfig.json
31 lines (31 loc) · 1.02 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
{
// 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
},
"include": ["src/*", "src/**/*"],
"exclude": ["node_modules", "experiments", "coverage", "dist"],
}