Skip to content

Commit 0809f9c

Browse files
Temporarily disabling gifs
1 parent 07597ab commit 0809f9c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tools/process-images/index.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,10 @@ const walk = async dir => {
5757
});
5858
});
5959
} else if (/(gif)$/i.test(file)) {
60-
Object.entries(SIZES).forEach(([size, [width, height]]) => {
61-
const distDir = path.join(dir, 'dist', size);
62-
fs.copyFileSync(fromPath, `${distDir}/${file}`);
63-
})
60+
// Object.entries(SIZES).forEach(([size, [width, height]]) => {
61+
// const distDir = path.join(dir, 'dist', size);
62+
// fs.copyFileSync(fromPath, `${distDir}/${file}`);
63+
// })
6464
}
6565
}
6666
};

0 commit comments

Comments
 (0)