Skip to content

Commit

Permalink
fix(loader): image-webpack-loader pngquant
Browse files Browse the repository at this point in the history
  • Loading branch information
echo630 committed Oct 18, 2019
1 parent 7160713 commit c9f0e38
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,6 @@ module.exports = {
[▲ 回顶部](#top)

### <span id="compressimage">✅ 压缩图片</span>

```bash
npm i -D image-webpack-loader
```
Expand All @@ -267,15 +266,14 @@ module.exports = {
.options({
mozjpeg: { progressive: true, quality: 65 },
optipng: { enabled: false },
pngquant: { quality: "65-90", speed: 4 },
pngquant: { quality: [0.65, 0.90], speed: 4 },
gifsicle: { interlaced: false },
webp: { quality: 75 }
});
}
}
```


[▲ 回顶部](#top)

### <span id="spritesmith">✅ 自动生成雪碧图</span>
Expand Down

0 comments on commit c9f0e38

Please sign in to comment.