Files
civitai__civitai/tsconfig.json
T
2026-02-26 11:22:53 -07:00

51 lines
1.1 KiB
JSON

{
"compilerOptions": {
"target": "ES2018",
"lib": ["dom", "dom.iterable", "esnext"],
// "types": ["offscreencanvas"],
"allowJs": true,
"skipLibCheck": true,
"strict": true,
"forceConsistentCasingInFileNames": true,
"noEmit": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"module": "esnext",
"moduleResolution": "bundler",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
"incremental": true,
"noUncheckedIndexedAccess": false, // TODO swap to true
"baseUrl": "src",
"paths": {
"~/*": ["./*"]
},
"noErrorTruncation": true,
"plugins": [
{
"name": "next"
}
]
},
"include": [
// "next-env.d.ts",
// "**/*.ts",
// "**/*.tsx",
// "**/*.cjs",
// "**/*.mjs",
"scripts/local-dev/*.ts",
"src",
"tests",
".next/types/**/*.ts"
],
"exclude": [
"node_modules",
"./node_modules",
"./node_modules/*",
"src/pages/api/dev-local/*.ts",
"scripts/local-dev/*.ts",
"src/**/__tests__/**"
]
}