From 7cede1e082643a4ab01c9912f37b7aa4c6224dc4 Mon Sep 17 00:00:00 2001 From: zyronon Date: Tue, 2 Apr 2024 14:07:09 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E9=99=A4=E6=89=93=E5=8C=85=E5=8E=8B?= =?UTF-8?q?=E7=BC=A9=E5=9B=BE=E7=89=87=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vite.config.js | 54 +++++++++++++++++++++++++------------------------- 1 file changed, 27 insertions(+), 27 deletions(-) diff --git a/vite.config.js b/vite.config.js index b3c6669..48530e0 100644 --- a/vite.config.js +++ b/vite.config.js @@ -74,33 +74,33 @@ export default defineConfig({ // algorithm: 'gzip', // threshold: 10240, // }), - viteImagemin({ - gifsicle: { - optimizationLevel: 7, - interlaced: false, - }, - optipng: { - optimizationLevel: 7, - }, - mozjpeg: { - quality: 20, - }, - pngquant: { - quality: [0.8, 0.9], - speed: 4, - }, - svgo: { - plugins: [ - { - name: 'removeViewBox', - }, - { - name: 'removeEmptyAttrs', - active: false, - }, - ], - }, - }), + // viteImagemin({ + // gifsicle: { + // optimizationLevel: 7, + // interlaced: false, + // }, + // optipng: { + // optimizationLevel: 7, + // }, + // mozjpeg: { + // quality: 20, + // }, + // pngquant: { + // quality: [0.8, 0.9], + // speed: 4, + // }, + // svgo: { + // plugins: [ + // { + // name: 'removeViewBox', + // }, + // { + // name: 'removeEmptyAttrs', + // active: false, + // }, + // ], + // }, + // }), ], resolve: { alias: {