mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-02-25 03:44:09 +01:00
refactor: clean up client workflow and update package dependencies
This commit is contained in:
parent
a65e33758d
commit
f1204531a8
9 changed files with 141 additions and 117 deletions
|
|
@ -30,23 +30,20 @@ const plugins = [
|
|||
}),
|
||||
commonjs(),
|
||||
postcss({
|
||||
// Extract CSS to a separate file
|
||||
extract: false,
|
||||
// Inject CSS into JS (better for component libraries)
|
||||
inject: true,
|
||||
// Minimize CSS in production
|
||||
minimize: process.env.NODE_ENV === 'production',
|
||||
// Enable CSS modules if needed
|
||||
modules: false,
|
||||
}),
|
||||
typescript({
|
||||
tsconfig: './tsconfig.json',
|
||||
useTsconfigDeclarationDir: true,
|
||||
clean: true,
|
||||
check: false,
|
||||
}),
|
||||
terser({
|
||||
compress: {
|
||||
directives: false, // Preserve directives like 'use client'
|
||||
directives: false,
|
||||
},
|
||||
}),
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue