-
-
Notifications
You must be signed in to change notification settings - Fork 434
/
tsconfig.app.json
48 lines (41 loc) · 1.11 KB
/
tsconfig.app.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
37
38
39
40
41
42
43
44
45
46
47
48
{
"extends": "@vue/tsconfig/tsconfig.web.json",
"include": [
"env.d.ts",
"components.d.ts",
"src/**/*",
"src/**/*.vue",
"src/monaco/theme/editor.*.theme.json"
],
"exclude": [
"src/**/__tests__/*"
],
"compilerOptions": {
"lib": [
// Target ES2020 to align with Vite.
// <https://vitejs.dev/config/build-options.html#build-target>
// Support for newer versions of language built-ins are
// left for the users to include, because that would require:
// - either the project doesn't need to support older versions of browsers;
// - or the project has properly included the necessary polyfills.
"ES2020",
"DOM",
"DOM.Iterable"
// No `ScriptHost` because Vue 3 dropped support for IE
],
"baseUrl": ".",
"paths": {
"@/*": [
"./src/*"
]
},
// if `<script setup>` is used, then remove the next line
"preserveValueImports": false,
"importsNotUsedAsValues": "remove",
"experimentalDecorators": true,
"verbatimModuleSyntax": true
},
"vueCompilerOptions": {
"target": 2.7
}
}