{"library":"webp-loader","type":"library","category":null,"description":"Webpack loader that converts JPEG and PNG images to WebP format using imagemin-webp under the hood. Version 0.6.0 is the latest stable release. The loader integrates with webpack's loader pipeline and is typically combined with file-loader or multi-loader to produce both original and WebP versions. Key differentiator: it provides a direct bridge between webpack and imagemin-webp, allowing configuration via query string. However, it has seen only sporadic updates and is largely superseded by more modern image optimization plugins like imagemin-webpack-plugin.","language":"javascript","status":"maintenance","version":"0.6.0","tags":["javascript","webpack","webp","image"],"last_verified":"Wed May 27","install":[{"cmd":"npm install webp-loader","imports":["// In webpack config: { test: /\\.(jpe?g|png)$/i, use: ['file-loader', 'webp-loader'] }","import multi from 'multi-loader' // Using multi-loader to bundle multiple loaders"]},{"cmd":"yarn add webp-loader","imports":[]},{"cmd":"pnpm add webp-loader","imports":[]}],"homepage":null,"github":"https://github.com/kavu/webp-loader","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/webp-loader","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/webp-loader/compatibility"}}