{"library":"webpack-image-resize-loader","type":"library","category":null,"description":"Webpack loader to resize imported images using sharp. Supports JPEG, PNG, WebP, AVIF, and TIFF formats. Current stable version is 5.0.0. Released as needed, with breaking changes in v4 and v5. Key differentiators: lightweight (no sharp dependency included), works with webpack 4/5, supports query string overrides for per-import resizing. Unlike other image loaders, it does not bundle sharp itself, so users must install sharp separately. Comparable to sharp-loader but focused solely on resize operations.","language":"javascript","status":"active","version":"5.0.0","tags":["javascript","webpack","loader","responsive","resize","image","sharp"],"last_verified":"Wed May 27","install":[{"cmd":"npm install webpack-image-resize-loader","imports":["import image from './image.png?width=500';","module.exports = { module: { rules: [ { test: /\\.(png|jpe?g)$/i, use: [ 'file-loader', { loader: 'webpack-image-resize-loader', options: { width: 1000 } } ] } ] } };","npm install --save-dev sharp"]},{"cmd":"yarn add webpack-image-resize-loader","imports":[]},{"cmd":"pnpm add webpack-image-resize-loader","imports":[]}],"homepage":null,"github":"https://github.com/Calvin-LL/webpack-image-resize-loader","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/webpack-image-resize-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/webpack-image-resize-loader/compatibility"}}