imagemin error
I encountered this problem, the size of the picture cannot be compressed.
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 } ] } })

I can try, can you give me a Reproduce?

I can try, can you give me a Reproduce?
I encountered same problem,It can be compressed successfully locally,but failed in jenkins:
In local: ✨ [vite-plugin-imagemin]- compressed image resource successfully: dist/assets/logo.7ffb94ff.png -46% 12.06kb / tiny: 6.60kb dist/assets/background.3dfa46d5.png -97% 2349.62kb / tiny: 92.36kb
In jenkins: imagemin error:/var/jenkins_home/workspace/tsp-web/dist/assets/logo.7ffb94ff.png imagemin error:/var/jenkins_home/workspace/tsp-web/dist/assets/background.3dfa46d5.png
尝试在linux安装下 https://vvbin.cn/doc-next/other/faq.html#%E5%9C%A8-linux-%E5%86%85%E4%BE%9D%E8%B5%96%E5%AE%89%E8%A3%85%E5%A4%B1%E8%B4%A5
I have been having this issue for a few weeks, I tried disabling the svgo section of my vite.config.js and I am back in business...
同样是不起作用,测试了几个项目都是不起作用。不知道该怎么给你复现的demo
oh,还是不行,都是ts配置才行吗

我也碰到这个问题了
请问这个问题有人解决吗
请问这个问题有人解决吗
用yarn下载