refactor: clean up client workflow and update package dependencies

This commit is contained in:
Marco Beretta 2025-07-19 03:29:56 +02:00
parent a65e33758d
commit f1204531a8
No known key found for this signature in database
GPG key ID: D918033D8E74CC11
9 changed files with 141 additions and 117 deletions

View file

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