-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsconfig.json
More file actions
34 lines (34 loc) · 1.29 KB
/
tsconfig.json
File metadata and controls
34 lines (34 loc) · 1.29 KB
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
{
"compilerOptions": {
/* Visit https://aka.ms/tsconfig to read more about this file */
"target": "ESNext",
"lib": ["ESNext"],
"jsx": "react-jsx",
// "jsxFactory": "", /* Specify the JSX factory function used when targeting React JSX emit, e.g. 'React.createElement' or 'h'. */
// "jsxFragmentFactory": "", /* Specify the JSX Fragment reference used for fragments when targeting React JSX emit e.g. 'React.Fragment' or 'Fragment'. */
"jsxImportSource": "preact",
"module": "preserve",
"rootDir": "./",
"moduleResolution": "bundler",
"baseUrl": "./",
"paths": {
"preact": ["./node_modules/preact"],
"npm:preact@10.26.4/jsx-runtime": ["./node_modules/preact/jsx-runtime"],
"npm:preact@10.26.4/jsx-dev-runtime": [
"./node_modules/preact/jsx-runtime"
],
"react": ["./node_modules/preact/compat/"],
"react/jsx-runtime": ["./node_modules/preact/jsx-runtime"],
"react-dom": ["./node_modules/preact/compat/"],
"react-dom/*": ["./node_modules/preact/compat/*"]
},
"allowImportingTsExtensions": true,
"rewriteRelativeImportExtensions": true,
"noEmit": true,
"verbatimModuleSyntax": true,
"allowSyntheticDefaultImports": true,
"esModuleInterop": true,
"strict": true,
"skipLibCheck": true
}
}