mirror of https://github.com/curbengh/hexo-yam
1dafc72850
before_exit was a workaround instead of proper after_generate Use hexo router instead of filesystem manipulation, so hexo-fs is not required anymore this approach also allows size comparison of original and compressed file, just like minifier currently have inspired by - https://www.travisgeis.com/2018/04/23/lazy-image-resizing-in-hexo-image-sizes-v2/ - https://github.com/ottobonn/hexo-image-sizes/blob/master/lib/ImageResizer.js - https://github.com/chenzhutian/hexo-all-minifier/blob/master/lib/concatJS.js - https://stackoverflow.com/a/39441194 |
||
---|---|---|
.. | ||
filter.js |