Skip to content
New issue

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

TypeError: imagemin.mozjpeg is not a function #379

Open
madjacky opened this issue Jun 29, 2023 · 1 comment
Open

TypeError: imagemin.mozjpeg is not a function #379

madjacky opened this issue Jun 29, 2023 · 1 comment

Comments

@madjacky
Copy link

i install this plugin and did everything according to the instructions but when try to star gulp i have this error:
"TypeError: imagemin.mozjpeg is not a function "

@realovich
Copy link

realovich commented Jul 19, 2023

i install this plugin and did everything according to the instructions but when try to star gulp i have this error:

import imagemin, {mozjpeg} from 'gulp-imagemin';

.pipe(imagemin([
  mozjpeg({quality: 80, progressive: true}),
]))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants