-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsconfig.json
More file actions
29 lines (29 loc) · 765 Bytes
/
tsconfig.json
File metadata and controls
29 lines (29 loc) · 765 Bytes
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
{
"$schema": "https://json.schemastore.org/tsconfig.json",
"include": [
"docs/**/*.ts",
"docs/**/*.vue",
"docs/**/*.md"
],
"vueCompilerOptions": {
"vitePressExtensions": [
".md"
]
},
"esModuleInterop": true,
"compilerOptions": {
// Treat files as modules even if it doesn't use import/export
"moduleDetection": "force",
"module": "esnext",
"target": "esnext",
// Allow JSON modules to be imported
"resolveJsonModule": true,
// Allow JS files to be imported from TS and vice versa
"allowJs": true,
// Use correct ESM import behavior
"esModuleInterop": true,
// Disallow features that require cross-file awareness
"isolatedModules": true,
"moduleResolution": "Bundler"
}
}