fix: lint

This commit is contained in:
2026-04-27 14:51:15 +02:00
parent f516438de3
commit ef10c2efe7
+10 -1
View File
@@ -5,7 +5,16 @@ const sharp = require('sharp');
const sourceRoot = path.join(process.cwd(), 'src', 'assets', 'unoptimized');
const targetRoot = path.join(process.cwd(), 'src', 'assets', 'optimized');
const rasterExtensions = new Set(['.jpg', '.jpeg', '.png', '.webp', '.avif', '.gif', '.tif', '.tiff']);
const rasterExtensions = new Set([
'.jpg',
'.jpeg',
'.png',
'.webp',
'.avif',
'.gif',
'.tif',
'.tiff',
]);
const passthroughExtensions = new Set(['.svg']);
function collectFilesRecursively(directoryPath) {