Skip to content

Conversation

@Jetroid
Copy link
Contributor

@Jetroid Jetroid commented Sep 20, 2019

Provides the option to make a nested search if required.

@Birne94
Copy link

Birne94 commented Oct 24, 2019

I originally had the same issue, but was able to resolve it by appending a trailing / to my search directory:

webp: enabled: true quality: 100 regenerate: false img_dir: - '/images/'

The plugin already performs a recursive search, but only when the path ends with a slash (/images**/*.* vs /images/**/*.*):

for imgfile in Dir[imgdir_source + "**/*.*"]
@sverrirs sverrirs merged commit 318fe64 into sverrirs:master Oct 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

4 participants