-
Notifications
You must be signed in to change notification settings - Fork 338
Expand file tree
/
Copy pathtsconfig.json
More file actions
40 lines (40 loc) · 1.13 KB
/
tsconfig.json
File metadata and controls
40 lines (40 loc) · 1.13 KB
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
{
"compilerOptions": {
"target": "ES2022",
"module": "Preserve", // Vanilla Extract is bundled with preconstruct (effectively Rollup)
"lib": ["ES2023", "ESNext.Array", "dom", "dom.iterable"], // ES2023 aligns with Node 22, and we need DOM APIs for fixtures and the docs site
"noEmit": true,
"noImplicitAny": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"strict": true,
"esModuleInterop": true,
"moduleResolution": "bundler", // Again, bundling handles module resolution
"jsx": "react-jsx",
"allowJs": true,
"allowImportingTsExtensions": true,
"incremental": true,
"resolveJsonModule": true,
"skipLibCheck": true,
"moduleDetection": "force",
"isolatedModules": true,
"verbatimModuleSyntax": true
},
"exclude": [
"node_modules",
"**/dist/**",
"tests/compiler/fixtures/tsconfig-paths/**"
],
"include": [
"@types/testing-library__jest-dom",
"./jest.setup.ts",
"packages/**/*",
"examples/*/app/**/*",
"examples/*/src/**/*",
"fixtures/*/src/**/*",
"test-helpers/**/*",
"site/**/*",
"tests/**/*",
"scripts/*"
]
}