| 1 | { |
| 2 | "extends": "./tsconfig.json", |
| 3 | "include": [ |
| 4 | ".react-router/types/**/*", |
| 5 | "app/**/*", |
| 6 | "app/**/.server/**/*", |
| 7 | "app/**/.client/**/*", |
| 8 | "workers/**/*", |
| 9 | "worker-configuration.d.ts" |
| 10 | ], |
| 11 | "exclude": ["app/**/*.test.ts"], |
| 12 | "compilerOptions": { |
| 13 | "composite": true, |
| 14 | "strict": true, |
| 15 | "lib": ["DOM", "DOM.Iterable", "ES2022", "ESNext.Disposable"], |
| 16 | "types": ["vite/client"], |
| 17 | "target": "ES2022", |
| 18 | "module": "ES2022", |
| 19 | "moduleResolution": "bundler", |
| 20 | "jsx": "react-jsx", |
| 21 | "rootDirs": [".", "./.react-router/types"], |
| 22 | "paths": { |
| 23 | "~/*": ["./app/*"] |
| 24 | }, |
| 25 | "esModuleInterop": true, |
| 26 | "resolveJsonModule": true, |
| 27 | // Browser modules tested under Node (`npm test`) name the files they |
| 28 | // import with their extension, as Node needs (components/folios/provider.ts). |
| 29 | "allowImportingTsExtensions": true |
| 30 | } |
| 31 | } |