🔧 chore: Revert Shared Links / Data-Table Changes from #9698 (#10897)

* 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:
Danny Avila 2025-12-10 16:19:53 -05:00
parent a76b2d364b
commit 6e928cc468
No known key found for this signature in database
GPG key ID: BF31EEB2C5CA0956
8 changed files with 564 additions and 642 deletions

View file

@ -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',
},
],