|
1 | 1 | {
|
2 | 2 | "compilerOptions": {
|
3 |
| - "target": "ES2020", |
4 |
| - "useDefineForClassFields": true, |
5 |
| - "module": "ESNext", |
6 |
| - "lib": ["ES2020", "DOM", "DOM.Iterable"], |
7 |
| - "skipLibCheck": true, |
8 |
| - |
9 |
| - /* Bundler mode */ |
10 |
| - "moduleResolution": "bundler", |
11 |
| - "allowImportingTsExtensions": true, |
12 |
| - "resolveJsonModule": true, |
| 3 | + "target": "ES2022" /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */, |
| 4 | + "module": "ESNext" /* Specify what module code is generated. */, |
| 5 | + "moduleResolution": "Bundler", |
| 6 | + // Required for isolated module compilation (ESBuild) |
13 | 7 | "isolatedModules": true,
|
14 |
| - "noEmit": true, |
15 |
| - "jsx": "preserve", |
16 |
| - |
17 |
| - /* Linting */ |
18 |
| - "strict": true, |
19 |
| - "noUnusedLocals": true, |
20 |
| - "noUnusedParameters": true, |
21 |
| - "noFallthroughCasesInSwitch": true |
| 8 | + // Support proper ESM builds |
| 9 | + "esModuleInterop": true, |
| 10 | + // Ensure that casing is correct in imports. |
| 11 | + "forceConsistentCasingInFileNames": true, |
| 12 | + "strict": false, |
| 13 | + "strictNullChecks": false, |
| 14 | + "resolveJsonModule": true, |
| 15 | + "skipLibCheck": true |
| 16 | + }, |
| 17 | + "include": ["src/**/*", "tests/**/*", "**/*.json", "**/*.yaml"], |
| 18 | + "exclude": ["dist", "node_modules", "**/dist", "**/node_modules"], |
| 19 | + // Required for path rewrites |
| 20 | + "ts-node": { |
| 21 | + "require": ["tsconfig-paths/register"] |
22 | 22 | },
|
23 |
| - "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.vue"], |
24 |
| - "references": [{ "path": "./tsconfig.node.json" }] |
| 23 | + // Required for path aliasing |
| 24 | + "tsc-alias": { |
| 25 | + "resolveFullPaths": true |
| 26 | + } |
25 | 27 | }
|
0 commit comments