mirror of
https://github.com/civitai/civitai.git
synced 2026-09-20 22:08:18 +08:00
51 lines
1.1 KiB
JSON
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__/**"
|
|
]
|
|
}
|