mirror of
https://github.com/WDI-Ideas/rubix.git
synced 2026-04-27 19:25:50 +00:00
18 lines
445 B
JavaScript
18 lines
445 B
JavaScript
import { defineConfig } from 'vite'
|
|
import react from '@vitejs/plugin-react-swc'
|
|
import imagemin from 'vite-plugin-imagemin';
|
|
|
|
// https://vitejs.dev/config/
|
|
export default defineConfig({
|
|
plugins: [
|
|
react(),
|
|
imagemin({
|
|
gifsicle: { optimizationLevel: 3 },
|
|
optipng: { optimizationLevel: 5 },
|
|
mozjpeg: { quality: 80, progressive: true },
|
|
pngquant: { quality: [0.7, 0.9], speed: 4 },
|
|
svgo: {},
|
|
}),
|
|
],
|
|
})
|