15 ms·
Seems like it would be fairly trivial to write a bash script that ran the hugo build, then optimized the images with the squoosh cli. Squoosh is available in n
by ac29 6y ago
Seems like it would be fairly trivial to write a bash script that ran the hugo build, then optimized the images with the squoosh cli.
Squoosh is available in npm, which should make this pretty easy: https://www.npmjs.com/package/@squoosh/cli https://www.npmjs.com/package/@squoosh/cli