mirror of
https://github.com/lobehub/lobe-chat.git
synced 2025-12-20 01:12:52 +08:00
* fix dockerfile * update gitignore * refactor some @/types to @lobechat/types * improve apikey url * fix aihubmix provider
43 lines
1018 B
JSON
43 lines
1018 B
JSON
{
|
|
"$schema": "https://json.schemastore.org/tsconfig",
|
|
"compilerOptions": {
|
|
"target": "ESNext",
|
|
"lib": ["dom", "dom.iterable", "esnext", "webworker"],
|
|
"allowJs": true,
|
|
"skipLibCheck": true,
|
|
"strict": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"noEmit": true,
|
|
"esModuleInterop": true,
|
|
"module": "esnext",
|
|
"moduleResolution": "bundler",
|
|
"resolveJsonModule": true,
|
|
"isolatedModules": true,
|
|
"jsx": "preserve",
|
|
"incremental": true,
|
|
"baseUrl": ".",
|
|
"types": ["vitest/globals", "@serwist/next/typings"],
|
|
"paths": {
|
|
"@/types/*": ["./packages/types/src/*", "./src/types/*"],
|
|
"@/*": ["./src/*"],
|
|
"~test-utils": ["./tests/utils.tsx"]
|
|
},
|
|
"plugins": [
|
|
{
|
|
"name": "next"
|
|
}
|
|
]
|
|
},
|
|
"exclude": ["node_modules", "public/sw.js", "apps/desktop"],
|
|
"include": [
|
|
"**/*.d.ts",
|
|
"**/*.ts",
|
|
"**/*.tsx",
|
|
".next/types/**/*.ts",
|
|
"next-env.d.ts",
|
|
"src",
|
|
"tests",
|
|
"vitest.config.ts"
|
|
]
|
|
}
|