You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
-2
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,6 @@
1
1
# eleventy-plugin-sharp-respimg
2
2
An Eleventy [shortcode](https://www.11ty.dev/docs/shortcodes/#paired-shortcodes) that performs build-time image transformations with [Sharp](https://www.npmjs.com/package/sharp) to resize large images into `.jpeg` and `.webp` formats with varying dimensions and generates `<picture>` tags for responsive images.
3
3
4
-
Note: This plugin does the job but could definitely be optimized. I recommend using the supported image plugin built by the 11ty team [@11ty/eleventy-img](https://github.com/11ty/eleventy-img).
5
-
6
4
## Installation
7
5
In your Eleventy project, [install the plugin](https://www.npmjs.com/package/eleventy-plugin-sharp-respimg) from npm:
0 commit comments