{"library":"vite-plugin-webp","type":"library","category":null,"description":"A Vite plugin that converts JPEG, PNG, GIF, and AVIF images to WebP format during the build process, using the sharp library for high-performance conversion. Version 1.1.3 is the latest stable release. It supports CSS background images (with a fallback class-based approach) and JS image imports with clip (dimension-based) transformations. Key differentiator: automatic inline conversion in CSS and JS without manual WebP management, plus image clipping via filename dimensions.","language":"javascript","status":"active","version":"1.1.3","tags":["javascript","vite-plugin-webp","webp","clip","vite","sharp"],"install":[{"cmd":"npm install vite-plugin-webp","imports":["import webp from 'vite-plugin-webp'","const webp = require('vite-plugin-webp')","import webp from 'vite-plugin-webp';\nimport { defineConfig } from 'vite';\nexport default defineConfig({ plugins: [webp()] })"]},{"cmd":"yarn add vite-plugin-webp","imports":[]},{"cmd":"pnpm add vite-plugin-webp","imports":[]}],"homepage":null,"github":"https://github.com/luchuanqi/vite-plugin-webp","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/vite-plugin-webp","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/vite-plugin-webp/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Thu Jun 18","next_check":"Sun Jul 26","install_tag":null}}