-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
24 lines (24 loc) · 1.58 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
{
"compilerOptions": {
"target": "ESNext", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', or 'ESNEXT'. */
"module": "NodeNext", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', 'es2020', or 'ESNext'. */
"jsx": "react-jsx", /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */
"jsxImportSource": "preact",
"declaration": true, /* Generates corresponding '.d.ts' file. */
"declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */
"sourceMap": true, /* Generates corresponding '.map' file. */
"outDir": "./dist/preact",
"rootDir": "./src/",
"isolatedModules": true,
"lib": ["ESNext", "DOM", "DOM.Iterable", "ES2021", "ES2021.String"],
"exactOptionalPropertyTypes": false,
"strict": true, /* Enable all strict type-checking options. */
"moduleResolution": "NodeNext", /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */
"skipLibCheck": true, /* Skip type checking of declaration files. */
"forceConsistentCasingInFileNames": true, /* Disallow inconsistently-cased references to the same file. */
"preserveWatchOutput": true,
"types": []
},
"include": ["./src"],
"exclude": ["./node_modules", "./src/util/lib-react.tsx"]
}