-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsconfig.json
More file actions
21 lines (21 loc) · 873 Bytes
/
Copy pathtsconfig.json
File metadata and controls
21 lines (21 loc) · 873 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{
"extends": "astro/tsconfigs/strict",
"include": [".astro/types.d.ts", "**/*"],
// public/ is copied verbatim to dist/ and holds vendored, minified JS (reveal.js
// and its plugins). Type-checking it produced every hint `astro check` reported
// and dumped multi-kilobyte minified lines into the output. Nothing imports it.
// coverage/ and test-results/ are gitignored local run output, so they are
// absent in CI but pollute a local `astro check`.
"exclude": ["dist", "public", "coverage", "test-results"],
"compilerOptions": {
"baseUrl": ".",
"paths": {
"@/*": ["src/*"]
},
"jsx": "preserve",
"jsxImportSource": "vue",
// vitest.config.ts sets globals: true, so describe/it/expect/vi are ambient.
// Without this, `astro check` reports them as undefined across every test file.
"types": ["vitest/globals"]
}
}