mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-27 05:38:51 +01:00
- Added new dependencies for Rollup plugins and updated existing ones in package.json and package-lock.json. - Introduced a new Rollup configuration file for building the client package. - Refactored build scripts to include a dedicated build command for the client. - Updated TypeScript configuration for improved module resolution and type declaration output. - Integrated a Toast component from the client package into the main App component.
27 lines
711 B
JSON
27 lines
711 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2020",
|
|
"module": "ESNext",
|
|
"moduleResolution": "node",
|
|
"jsx": "react-jsx",
|
|
"jsxImportSource": "react",
|
|
"declaration": true,
|
|
"declarationMap": true,
|
|
"declarationDir": "./dist/types",
|
|
"esModuleInterop": true,
|
|
"allowSyntheticDefaultImports": true,
|
|
"strict": true,
|
|
"skipLibCheck": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"outDir": "./dist",
|
|
"rootDir": "./src",
|
|
"baseUrl": "./src",
|
|
"paths": {
|
|
"~/*": ["./*"]
|
|
},
|
|
"lib": ["ES2020", "DOM", "DOM.Iterable"],
|
|
"resolveJsonModule": true
|
|
},
|
|
"include": ["src/**/*"],
|
|
"exclude": ["dist", "node_modules", "**/*.test.ts", "**/*.test.tsx"]
|
|
}
|