generated from brianrodri/obsidian-preact-plugin-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
36 lines (32 loc) · 976 Bytes
/
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
{
"compilerOptions": {
// Type Checking
"downlevelIteration": true,
"strict": true,
// Modules
"baseUrl": ".",
"module": "ESNext",
"moduleResolution": "Node",
"paths": {
"@/*": ["./src/*"],
"react": ["./node_modules/preact/compat"],
"react-dom": ["./node_modules/preact/compat"]
},
// Emit
"noEmit": true,
"inlineSources": true,
"inlineSourceMap": true,
// Interop Constraints
"esModuleInterop": true,
"isolatedModules": true,
"noImplicitOverride": true,
// Language and Environment
"jsx": "react-jsx",
"jsxImportSource": "preact",
"lib": ["DOM"],
"skipLibCheck": true, // Only concerned w/ type checking the package code.
"target": "ES2018" // Use same target as obsidian-dataview.
},
"include": ["src"],
"exclude": ["node_modules"]
}