Skip to content
This repository has been archived by the owner on Oct 25, 2021. It is now read-only.

Are subfolders of assets/img processed? #12

Closed
jaydreyer opened this issue Mar 2, 2017 · 1 comment
Closed

Are subfolders of assets/img processed? #12

jaydreyer opened this issue Mar 2, 2017 · 1 comment

Comments

@jaydreyer
Copy link
Contributor

For most of my js/css/img files, I have subfolders. So in assets/img I have assets/img/main and img/posts or whatever. When I run hugulp build are these files in subfolders being processed? Is it expecting a flat structure?

Looking at the code I see return gulp.src('assets/img/*.*'), which leads me to think it would just take everything at root. I'm wondering if it was assets/img/**/*.* if that would take care of grabbing all files in subdirectories.

@jbrodriguez
Copy link
Owner

That's right, currently it's expecting a flat structure.

Your solution will work.

I'll incorporate it in the next release and for other folders.

jbrodriguez added a commit that referenced this issue Mar 21, 2017
jbrodriguez added a commit that referenced this issue Mar 21, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants