mirror of
https://github.com/hellodigua/ChatLab.git
synced 2026-10-25 17:54:34 +08:00
30 lines
860 B
JSON
30 lines
860 B
JSON
{
|
|
"extends": "@electron-toolkit/tsconfig/tsconfig.web.json",
|
|
"include": ["src/env.d.ts", "src/**/*", "apps/desktop/preload/**/*.d.ts", "packages/**/*"],
|
|
"exclude": ["**/dist/**", "packages/*/bin/**"],
|
|
"compilerOptions": {
|
|
"target": "ESNext",
|
|
"useDefineForClassFields": true,
|
|
"module": "ESNext",
|
|
"moduleResolution": "Bundler",
|
|
"strict": true,
|
|
"jsx": "preserve",
|
|
"resolveJsonModule": true,
|
|
"isolatedModules": true,
|
|
"esModuleInterop": true,
|
|
"lib": ["ESNext", "DOM"],
|
|
"skipLibCheck": true,
|
|
"noEmit": true,
|
|
"noUnusedLocals": true,
|
|
"strictNullChecks": true,
|
|
"allowJs": true,
|
|
"allowImportingTsExtensions": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"paths": {
|
|
"@/*": ["./src/*"],
|
|
"@electron/*": ["./apps/desktop/*"],
|
|
"@openchatlab/*": ["./packages/*"]
|
|
}
|
|
}
|
|
}
|