We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ef62fb commit b5c6b36Copy full SHA for b5c6b36
README.md
@@ -40,7 +40,7 @@ Using [`sharp`](https://www.npmjs.com/package/sharp), returns the grayscale vers
40
loader: 'custom-loader',
41
options: {
42
callback: (source, sourceMap, callback) => {
43
- sharp().grayscale().toBuffer(callback);
+ sharp(source).grayscale().toBuffer(callback);
44
}
45
46
0 commit comments