mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-05-13 07:46:47 +00:00
- Enabled `esModuleInterop` in `client/tsconfig.json` for better module compatibility. - Changed `moduleResolution` from `node` to `bundler` in `client/tsconfig.json`. - Set `noEmit` to `true` in several `tsconfig.json` files to prevent output generation. - Removed `baseUrl` from various `tsconfig.json` files to simplify path resolution. - Updated path mappings in multiple packages to reflect new directory structures. These changes aim to streamline TypeScript configurations and improve module resolution across the project.
38 lines
1 KiB
JSON
38 lines
1 KiB
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ESNext",
|
|
"useDefineForClassFields": true,
|
|
"lib": ["DOM", "DOM.Iterable", "ESNext"],
|
|
"allowJs": true,
|
|
"skipLibCheck": true,
|
|
"esModuleInterop": true,
|
|
"allowSyntheticDefaultImports": true,
|
|
"strict": true,
|
|
"forceConsistentCasingInFileNames": false,
|
|
"module": "ESNext",
|
|
"moduleResolution": "bundler",
|
|
"resolveJsonModule": true,
|
|
"isolatedModules": true,
|
|
"noImplicitAny": false,
|
|
"noEmit": true,
|
|
"jsx": "preserve",
|
|
"paths": {
|
|
"~/*": ["./src/*"],
|
|
"test/*": ["./test/*"],
|
|
"*": ["./*", "../../node_modules/*"],
|
|
"librechat-data-provider/*": ["../packages/data-provider/*"]
|
|
}
|
|
},
|
|
"types": ["node", "jest", "@testing-library/jest-dom"],
|
|
"exclude": ["node_modules", "vite.config.ts"],
|
|
"include": [
|
|
"src/**/*",
|
|
"test/**/*",
|
|
"../e2e/**/*",
|
|
"test/setupTests.js",
|
|
"env.d.ts",
|
|
"../config/translations/**/*.ts",
|
|
"../packages/client/src/hooks/useDelayedRender.tsx",
|
|
"../packages/client/src/components/InfoHoverCard.tsx"
|
|
]
|
|
}
|