diff options
Diffstat (limited to 'frontend/tsconfig.json')
| -rw-r--r-- | frontend/tsconfig.json | 37 |
1 files changed, 29 insertions, 8 deletions
diff --git a/frontend/tsconfig.json b/frontend/tsconfig.json index ea9d0cd..9d87dd3 100644 --- a/frontend/tsconfig.json +++ b/frontend/tsconfig.json @@ -1,11 +1,32 @@ { - "files": [], - "references": [ - { - "path": "./tsconfig.app.json" + "include": [ + "**/*.ts", + "**/*.tsx", + "**/.server/**/*.ts", + "**/.server/**/*.tsx", + "**/.client/**/*.ts", + "**/.client/**/*.tsx" + ], + "compilerOptions": { + "lib": ["DOM", "DOM.Iterable", "ES2022"], + "types": ["@remix-run/node", "vite/client"], + "isolatedModules": true, + "esModuleInterop": true, + "jsx": "react-jsx", + "module": "ESNext", + "moduleResolution": "Bundler", + "resolveJsonModule": true, + "target": "ES2022", + "strict": true, + "allowJs": true, + "skipLibCheck": true, + "forceConsistentCasingInFileNames": true, + "baseUrl": ".", + "paths": { + "~/*": ["./app/*"] }, - { - "path": "./tsconfig.node.json" - } - ] + + // Vite takes care of building everything, not tsc. + "noEmit": true + } } |
