save
This commit is contained in:
parent
6b901f3866
commit
76a05a779d
|
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 34 KiB |
@ -73,33 +73,33 @@ export default defineConfig({
|
|||||||
// algorithm: 'gzip',
|
// algorithm: 'gzip',
|
||||||
// threshold: 10240,
|
// threshold: 10240,
|
||||||
// }),
|
// }),
|
||||||
viteImagemin({
|
// viteImagemin({
|
||||||
gifsicle: {
|
// gifsicle: {
|
||||||
optimizationLevel: 7,
|
// optimizationLevel: 7,
|
||||||
interlaced: false,
|
// interlaced: false,
|
||||||
},
|
// },
|
||||||
optipng: {
|
// optipng: {
|
||||||
optimizationLevel: 7,
|
// optimizationLevel: 7,
|
||||||
},
|
// },
|
||||||
mozjpeg: {
|
// mozjpeg: {
|
||||||
quality: 20,
|
// quality: 20,
|
||||||
},
|
// },
|
||||||
pngquant: {
|
// pngquant: {
|
||||||
quality: [0.8, 0.9],
|
// quality: [0.8, 0.9],
|
||||||
speed: 4,
|
// speed: 4,
|
||||||
},
|
// },
|
||||||
svgo: {
|
// svgo: {
|
||||||
plugins: [
|
// plugins: [
|
||||||
{
|
// {
|
||||||
name: 'removeViewBox',
|
// name: 'removeViewBox',
|
||||||
},
|
// },
|
||||||
{
|
// {
|
||||||
name: 'removeEmptyAttrs',
|
// name: 'removeEmptyAttrs',
|
||||||
active: false,
|
// active: false,
|
||||||
},
|
// },
|
||||||
],
|
// ],
|
||||||
},
|
// },
|
||||||
}),
|
// }),
|
||||||
],
|
],
|
||||||
resolve: {
|
resolve: {
|
||||||
alias: {
|
alias: {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user