Browse Source

Update Imagemin and dependencies

Gaël Métais 4 năm trước cách đây
mục cha
commit
bb9429e907
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      lib/tools/redownload/imageOptimizer.js

+ 1 - 1
lib/tools/redownload/imageOptimizer.js

@@ -210,7 +210,7 @@ var ImageOptimizer = function() {
         }
 
 
-        imagemin.buffer(imageBody, {use: engine})
+        imagemin.buffer(imageBody, {plugins: [engine]})
 
         .then(function(file) {
             var endTime = Date.now();