mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-17 00:40:14 +01:00
* chore: Remove @rollup/plugin-terser from package.json and rollup.config.js * 🔧 chore: Revert Shared Links / Data-Table Changes from #9698 - Added sorting functionality for title and creation date in the Shared Links table. - Implemented debounced search filtering for improved performance. - Updated DataTable integration to support new features and improved user experience. - Refactored delete handling to support bulk deletion of shared links. - Adjusted dialog components for better accessibility and user feedback. * 🗑️ chore: Remove unused translation keys from English locale - Deleted keys related to managing archived chats, deleting archived chats, and opening conversations to streamline the translation file.
This commit is contained in:
parent
a76b2d364b
commit
6e928cc468
8 changed files with 564 additions and 642 deletions
|
|
@ -23,6 +23,7 @@
|
|||
"clean": "rimraf dist",
|
||||
"b:clean": "bun run rimraf dist",
|
||||
"build": "npm run clean && rollup -c --bundleConfigAsCjs",
|
||||
"build:dev": "npm run clean && NODE_ENV=development rollup -c --bundleConfigAsCjs",
|
||||
"b:build": "bun run b:clean && bun run rollup -c --silent --bundleConfigAsCjs",
|
||||
"build:watch": "rollup -c -w --bundleConfigAsCjs",
|
||||
"dev": "rollup -c -w --bundleConfigAsCjs"
|
||||
|
|
@ -83,7 +84,6 @@
|
|||
"@rollup/plugin-commonjs": "^29.0.0",
|
||||
"@rollup/plugin-node-resolve": "^15.0.0",
|
||||
"@rollup/plugin-replace": "^5.0.5",
|
||||
"@rollup/plugin-terser": "^0.4.4",
|
||||
"@tanstack/react-query": "^4.28.0",
|
||||
"@tanstack/react-table": "^8.21.3",
|
||||
"@tanstack/react-virtual": "^3.13.13",
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
// ESM bundler config for React components
|
||||
import { fileURLToPath } from 'url';
|
||||
import alias from '@rollup/plugin-alias';
|
||||
import terser from '@rollup/plugin-terser';
|
||||
import postcss from 'rollup-plugin-postcss';
|
||||
import replace from '@rollup/plugin-replace';
|
||||
import commonjs from '@rollup/plugin-commonjs';
|
||||
|
|
@ -46,26 +45,23 @@ const plugins = [
|
|||
clean: true,
|
||||
check: false,
|
||||
}),
|
||||
terser({
|
||||
compress: {
|
||||
directives: false,
|
||||
},
|
||||
}),
|
||||
];
|
||||
|
||||
const isDev = process.env.NODE_ENV !== 'production';
|
||||
|
||||
export default {
|
||||
input: 'src/index.ts',
|
||||
output: [
|
||||
{
|
||||
file: pkg.main,
|
||||
format: 'cjs',
|
||||
sourcemap: true,
|
||||
sourcemap: isDev ? 'inline' : true,
|
||||
exports: 'named',
|
||||
},
|
||||
{
|
||||
file: pkg.module,
|
||||
format: 'esm',
|
||||
sourcemap: true,
|
||||
sourcemap: isDev ? 'inline' : true,
|
||||
exports: 'named',
|
||||
},
|
||||
],
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ export * from './InputOTP';
|
|||
export * from './MultiSearch';
|
||||
export * from './Resizable';
|
||||
export * from './Select';
|
||||
export * from './DataTable/index';
|
||||
export { default as DataTable } from './DataTable';
|
||||
export { default as Radio } from './Radio';
|
||||
export { default as Badge } from './Badge';
|
||||
export { default as Avatar } from './Avatar';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue