Closed florian closed 7 years ago
I also tried changing the source code of this plugin here and it didn't have any effect when changing the level to 7. Maybe the options are not passed correctly to the PNG minifier…
My images can be compressed further by grunt-image, so that's not the problem either.
Can you try out 2.0.0
? If the issue still persists I'll reopen.
I'm sorry if I just made some trivial mistake in the config but I can't get dynamic image paths to work with a custom
optimizationLevel
.This is my config:
It works in general, but it ignores the
optimizationLevel
. I tried to useoptions
just like in the example for static image paths.Is this a problem with this grunt plugin or did I just make a mistake in the config?