mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-06-09 17:31:19 +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.
32 lines
861 B
JSON
32 lines
861 B
JSON
{
|
|
"compilerOptions": {
|
|
"declaration": true,
|
|
"declarationDir": "./dist/types",
|
|
"module": "esnext",
|
|
"noImplicitAny": true,
|
|
"outDir": "./types",
|
|
"target": "es2015",
|
|
"moduleResolution": "node",
|
|
"allowSyntheticDefaultImports": true,
|
|
"lib": ["es2017", "dom", "ES2021.String", "ES2021.WeakRef"],
|
|
"allowJs": true,
|
|
"skipLibCheck": true,
|
|
"esModuleInterop": true,
|
|
"strict": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"resolveJsonModule": true,
|
|
"isolatedModules": true,
|
|
"noEmit": true,
|
|
"sourceMap": true,
|
|
"paths": {
|
|
"~/*": ["./src/*"]
|
|
}
|
|
},
|
|
"ts-node": {
|
|
"experimentalSpecifierResolution": "node",
|
|
"transpileOnly": true,
|
|
"esm": true
|
|
},
|
|
"exclude": ["node_modules", "dist", "types"],
|
|
"include": ["src/**/*", "types/index.d.ts", "types/react-query/index.d.ts"]
|
|
}
|