npm install vite-plugin-minipic -D你可以自由选择任何包管理工具,推荐yarn和pnpm❗❗❗ 安装失败? 如果你无法安装,请在你全局或者项目目录下的.npmrc文件中加入以下配置registry="https://registry.npmmirror.com" sharp_binary_host="https://registry.npmmirror.com/-/binary/sharp" sharp_libvips_binary_...
in vite.config.jsimport minipic from 'vite-plugin-minipic' export default defineConfig({ plugins: [ minipic({ sharpOptions: { png: { quality: 70 }, jpeg: { quality: 33 }, jpg: { quality: 70 } }, convert: [ { from: 'png', to: 'webp' }, { from: 'jpg', to: 'web...
Based on sharp.js, compress your image before vite generate bundle. It's easy and fast! 基于sharp.js的vite图片压缩插件,又快又好用! - fix: fix cant find output imgs · 60late/vite-plugin-minipic@453efe6
Based on sharp.js, compress your image before vite generate bundle. It's easy and fast! 基于sharp.js的vite图片压缩插件,又快又好用! - vite-plugin-minipic/README.md at 6965bd4b7afa47eb433a6693c869f8cf8fad5e78 · 60late/vite-plugin-minipic
vite-plugin-minipic is a helpful tool to compress images in morden vite project. It's easy to use, and it's faaaaaaast 🚀🚀🚀🚀!Why minipic?🚀 Fast compress spped Based on sharp.js, minipic have incredibly compresse speed. Fully satisfy multi-images/big-images requirements....
vite-plugin-minipic is a helpful tool to compress images in morden vite project. It's easy to use, and it's faaaaaaast 🚀🚀🚀🚀!❓ Why minipic?🚀 Fast compress speed Based on sharp.js, minipic have incredibly compresse speed. Fully satisfy multi-images/big-images re...
in vite.config.jsimport minipic from 'vite-plugin-minipic' export default defineConfig({ plugins: [ minipic({ sharpOptions: { png: { quality: 70 }, jpeg: { quality: 33 }, jpg: { quality: 70 } }, convert: [ { from: 'png', to: 'webp' }, { from: 'jpg', to: 'webp...
in vite.config.jsimport minipic from 'vite-plugin-minipic' export default defineConfig({ plugins: [ minipic({ sharpOptions: { png: { quality: 70 }, jpeg: { quality: 33 }, jpg: { quality: 70 } }, convert: [ { from: 'png', to: 'webp' }, { from: 'jpg', to: 'web...
Based on sharp.js, compress your image before vite generate bundle. It's easy and fast! 基于sharp.js的vite图片压缩插件,又快又好用! - vite-plugin-minipic/README.md at a746e413c3ed5afca371cd9ed5ec90221b2ebf97 · 60late/vite-plugin-minipic
in vite.config.jsimport minipic from 'vite-plugin-minipic' export default defineConfig({ plugins: [ minipic({ sharpOptions: { png: { quality: 70 }, jpeg: { quality: 33 }, jpg: { quality: 70 } }, convert: [ { from: 'png', to: 'webp' }, { from: 'jpg', to: 'webp'...