Web Software Engineer at @kouzoh
- Tokyo, Japan
-
14:12
(UTC +09:00) - https://icalrn.id
- @icalrn_dev
- in/faisalrahman21
Pinned Loading
-
Optimize Images with Imagemin while ...
Optimize Images with Imagemin while Preserving Directory Structure 1#!/bin/sh
23find ./public/images -type f \( -iname \*.jpg -o -iname \*.png -o -iname \*.svg \) | xargs -I % sh -c 'imagemin % -o $(dirname % | sed --expression="s/public/&\/optimized/")'
45# `find` - Look for files in the specified path
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.