Skip to content

Commit 87aca32

Browse files
committedNov 13, 2021
Cleanup
1 parent 88fdcba commit 87aca32

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed
 

‎assets/images.11ty.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -91,16 +91,16 @@ module.exports = class {
9191
const newPath = path.join(dir, base + size.rename.suffix + ext)
9292
const newPathOutput = path.join(outputPath, newPath)
9393
if (imgsRendered.includes(newPath)) {
94-
// console.log(`FOUND RESIZED IMAGE FOR ${newPath}`);
95-
return;
94+
// console.log(`FOUND RESIZED IMAGE FOR ${newPath}`)
95+
return
9696
}
97-
// console.log(`RENDERING NEW RESIZED IMAGE FOR ${newPath}`);
97+
// console.log(`RENDERING NEW RESIZED IMAGE FOR ${newPath}`)
9898
const resized = image.resize({
9999
width: size.width,
100100
withoutEnlargement: true,
101101
kernel: "lanczos2",
102102
})
103-
resized.toFile(newPathOutput);
103+
resized.toFile(newPathOutput)
104104
})
105105

106106
processedImages.push(img)

0 commit comments

Comments
 (0)
Failed to load comments.