ijs / webp-webpack-plugin

webpack plugin for making webp format file
https://ijs.github.io/webp-webpack-plugin/
MIT License
40 stars 7 forks source link

add limit options #4

Closed shenzhim closed 6 years ago

shenzhim commented 6 years ago
  1. 增加一个limit参数,可以设定一个图片大小的阀值。图片大小 > limit的生成webp格式的图片
codecov-io commented 6 years ago

Codecov Report

Merging #4 into master will increase coverage by 0.02%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master       #4      +/-   ##
==========================================
+ Coverage   98.36%   98.38%   +0.02%     
==========================================
  Files           2        2              
  Lines          61       62       +1     
==========================================
+ Hits           60       61       +1     
  Misses          1        1
Impacted Files Coverage Δ
src/index.js 100% <100%> (ø) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 032f68f...3458a8a. Read the comment docs.

jiangtao commented 6 years ago

Please update the doc, add limit options. Thanks