Skip to content

Commit

Permalink
Update pngquant settings
Browse files Browse the repository at this point in the history
  • Loading branch information
scriptex committed Jan 16, 2019
1 parent 8fd82a0 commit bd4812b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const plugins = [
quality: 70
}),
imageminPNGquant({
quality: 70
quality: [0.5, 0.7]
})
];

Expand Down Expand Up @@ -85,7 +85,7 @@ const optisize = async (params = {}) => {
return;
}

if (!existsSync(src)){
if (!existsSync(src)) {
spinner.fail(wrongSrcMsg);

return;
Expand Down

0 comments on commit bd4812b

Please sign in to comment.