mirror of
https://github.com/streamyfin/streamyfin.git
synced 2026-01-15 15:48:05 +00:00
Improves build performance and developer experience by enabling incremental compilation and adding essential compiler options. Enables incremental builds with build info caching to speed up subsequent compilations. Adds modern module resolution and interoperability options for better compatibility with bundlers and JavaScript modules. Enforces stricter type checking with isolated modules and consistent file naming conventions.
45 lines
938 B
JSON
45 lines
938 B
JSON
{
|
|
"extends": "expo/tsconfig.base",
|
|
"compilerOptions": {
|
|
"strict": true,
|
|
"jsx": "react-jsx",
|
|
"jsxImportSource": "react",
|
|
"paths": {
|
|
"@/*": ["./*"]
|
|
},
|
|
"incremental": true,
|
|
"tsBuildInfoFile": ".tsbuildinfo",
|
|
"skipLibCheck": true,
|
|
"esModuleInterop": true,
|
|
"allowSyntheticDefaultImports": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"moduleResolution": "bundler",
|
|
"resolveJsonModule": true,
|
|
"isolatedModules": true,
|
|
"noEmit": true
|
|
},
|
|
"include": [
|
|
"app/**/*",
|
|
"assets/**/*",
|
|
"components/**/*",
|
|
"constants/**/*",
|
|
"hooks/**/*",
|
|
"modules/**/*",
|
|
"packages/**/*",
|
|
"plugins/**/*",
|
|
"providers/**/*",
|
|
"scripts/**/*",
|
|
"translations/**/*",
|
|
"*.ts",
|
|
"*.tsx",
|
|
".expo/types/**/*.ts",
|
|
"expo-env.d.ts"
|
|
],
|
|
"exclude": [
|
|
"node_modules",
|
|
"babel.config.js",
|
|
"metro.config.js",
|
|
"utils/jellyseerr/**/*"
|
|
]
|
|
}
|