mirror of
https://github.com/System-End/campfire.git
synced 2026-04-19 23:22:56 +00:00
fix: remove Vite image optimizer
This commit is contained in:
parent
f845f1b845
commit
74b959695b
1 changed files with 2 additions and 12 deletions
|
|
@ -1,21 +1,11 @@
|
|||
import { defineConfig } from 'vite'
|
||||
import react from '@vitejs/plugin-react'
|
||||
import tailwindcss from '@tailwindcss/vite'
|
||||
import { ViteImageOptimizer } from 'vite-plugin-image-optimizer';
|
||||
|
||||
// https://vite.dev/config/
|
||||
export default defineConfig({
|
||||
plugins: [
|
||||
react(),
|
||||
tailwindcss(),
|
||||
ViteImageOptimizer({
|
||||
png: {
|
||||
effort: 10,
|
||||
compressionLevel: 9,
|
||||
progressive: true
|
||||
},
|
||||
ansiColors: true,
|
||||
logStats: true
|
||||
})
|
||||
],
|
||||
tailwindcss()
|
||||
]
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue