We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installation worked fine on OS X 10.11.5 Xcode Version 7.3.1 Node v6.2.0
npm i imagemin-webp > cwebp-bin@3.1.0 postinstall /Users/me/project/node_modules/cwebp-bin > node lib/install.js ✔ cwebp pre-build test passed successfully
testing
const imagemin = require('imagemin'); const imageminWebp = require('imagemin-webp'); imagemin(['images/*.{jpg,png}'], 'build', { use: [imageminWebp({quality: 50})] }) .then(() => { console.log('Images optimized'); }) .catch(err => { console.log(err) });
errors:
node ./imagemin-webp.js TypeError: pipe.then is not a function at fsP.readFile.then.data (/Users/me/project/node_modules/imagemin/index.js:15:4)
The text was updated successfully, but these errors were encountered:
Fixed in f0994b5. Hadn't published a new version. Install 4.x.x.
4.x.x
Sorry, something went wrong.
@kevva thanks a lot!
No branches or pull requests
Installation worked fine on
OS X 10.11.5
Xcode Version 7.3.1
Node v6.2.0
testing
errors:
The text was updated successfully, but these errors were encountered: