Closed pdehaan closed 5 years ago
This seems to drop the /src/images/background.png image from 819K down to 468K (-351K).
$ git rev-parse --short HEAD # 852c88f9 # BEFORE: $ ls -lh src/images 819K 21 Jan 12:31 background.png 50K 21 Jan 12:30 copter.png 15K 21 Jan 12:30 stars.png 8.2K 21 Jan 12:30 wordmark.png # MAGIC! $ npx imagemin-cli src/images/* --out-dir=src/images ✔ gifsicle pre-build test passed successfully ✔ jpegtran pre-build test passed successfully ✔ optipng pre-build test passed successfully 4 images minified # AFTER: $ ls -lh src/images 468K 21 Jan 12:31 background.png 50K 21 Jan 12:31 copter.png 15K 21 Jan 12:31 stars.png 8.2K 21 Jan 12:31 wordmark.png
This seems to drop the /src/images/background.png image from 819K down to 468K (-351K).