mirror of
https://github.com/lordmathis/lemma.git
synced 2025-11-06 16:04:23 +00:00
Fix generating compressed assets
This commit is contained in:
@@ -11,7 +11,10 @@ export default defineConfig(({ mode }) => ({
|
||||
react({
|
||||
include: ['**/*.tsx', '**/*.ts', '**/*.jsx', '**/*.js'],
|
||||
}),
|
||||
compression(),
|
||||
compression({
|
||||
threshold: 1024, // Only compress files > 1KB
|
||||
deleteOriginalAssets: false, // Keep original files
|
||||
}),
|
||||
],
|
||||
|
||||
root: 'src',
|
||||
|
||||
Reference in New Issue
Block a user