I have multiples subdirectories in my image directories, and I want to convert images inside these subdirectories and output the formatted files there.
I tried with the following cmd but it outputs all files in the main directory, images. Is something like this possible? Do I need to hard code subdirectories?
npx sharp --input './dist/images/**/*.jpg' --output './dist/images/' -f webp;