-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathtsconfig.shared.json
More file actions
29 lines (27 loc) · 974 Bytes
/
tsconfig.shared.json
File metadata and controls
29 lines (27 loc) · 974 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
{
"extends": "@vue/tsconfig/tsconfig.dom.json",
"include": [
"${configDir}/env.d.ts",
"${configDir}/src/**/*.ts",
"${configDir}/src/**/*.json",
"${configDir}/src/**/*.vue"
],
"exclude": ["${configDir}/src/**/__tests__/*"],
"compilerOptions": {
// see https://www.typescriptlang.org/docs/handbook/modules/guides/choosing-compiler-options.html#im-using-a-bundler
"module": "ESNext",
"moduleResolution": "bundler",
"esModuleInterop": true,
"lib": ["DOM", "ESNext.Array", "ESNext", "webworker"],
// see https://vite.dev/guide/features.html#typescript-compiler-options
"isolatedModules": true,
"useDefineForClassFields": true,
"strictNullChecks": false,
"baseUrl": "${configDir}",
"outDir": "${configDir}/dist",
"paths": {
"@/*": ["${configDir}/src/*"]
},
"typeRoots": ["node_modules/@types"]
}
}