|
2 | 2 | // This tsconfig is used when building @sentry/angular with the Angular |
3 | 3 | // compiler and `ng-packagr`. It configures a production build conforming |
4 | 4 | // to the Angular Package Format (APF). |
| 5 | +// |
| 6 | +// Does NOT extend the shared base tsconfig because ng-packagr ships its own |
| 7 | +// older TypeScript that doesn't support "moduleResolution": "bundler". |
5 | 8 | { |
6 | | - "extends": "./tsconfig.json", |
| 9 | + "include": ["**/*.ts", "src/**/*"], |
| 10 | + "exclude": ["patch-vitest.ts", "setup-test.ts"], |
7 | 11 | "compilerOptions": { |
8 | | - "target": "es2020", |
| 12 | + "declaration": false, |
9 | 13 | "declarationMap": false, |
| 14 | + "experimentalDecorators": true, |
| 15 | + "importHelpers": true, |
| 16 | + "inlineSources": true, |
| 17 | + "isolatedModules": true, |
10 | 18 | "lib": ["DOM", "es2020"], |
| 19 | + "moduleResolution": "node", |
| 20 | + "noErrorTruncation": true, |
| 21 | + "noFallthroughCasesInSwitch": true, |
| 22 | + "noImplicitReturns": true, |
| 23 | + "noUnusedLocals": false, |
| 24 | + "noUnusedParameters": false, |
| 25 | + "noUncheckedIndexedAccess": true, |
| 26 | + "preserveWatchOutput": true, |
| 27 | + "skipLibCheck": true, |
| 28 | + "sourceMap": true, |
| 29 | + "strict": true, |
| 30 | + "strictBindCallApply": false, |
| 31 | + "target": "es2020", |
| 32 | + "types": ["node"], |
11 | 33 | "baseUrl": "./" |
12 | 34 | }, |
13 | 35 | "angularCompilerOptions": { |
|
0 commit comments