We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72b38b0 commit 7148995Copy full SHA for 7148995
optimize.js
@@ -95,7 +95,7 @@ async function processFile({
95
const isChanged = !fileBuffer.equals(processedFileBuffer);
96
const isSvg = path.extname(filePath.input).toLowerCase() === '.svg';
97
98
- if (!isOptimized && !(isChanged && isSvg)) {
+ if (!isOptimized && (!isChanged || !isSvg)) {
99
logProgressVerbose(getRelativePath(filePath.input), {
100
description: `${(isChanged ? 'File size increased' : 'Nothing changed')}. Skipped`,
101
progressBarContainer,
0 commit comments