New rule that converts images to WebP and AVIF and checks the gain

This commit is contained in:
Gaël Métais
2023-07-26 16:04:20 +02:00
parent 0cde5a3607
commit c4b008f910
10 changed files with 325 additions and 13 deletions
+2
View File
@@ -4,6 +4,8 @@ var Q = require('q');
var fs = require('fs');
var path = require('path');
// Disable sharp cache to reduce the "disk is full" error on Amazon Lambda
sharp.cache(false);
var screenshotHandler = function() {