larsonjj / generator-yeogurt

A generator for creating static sites. Helps you harness the power of your favorite tools: Pug or Nunjucks, Gulp, ES6/2015, and much more!
MIT License
542 stars 73 forks source link

Change dest folder structure #209

Closed sahibhuseyn closed 1 year ago

sahibhuseyn commented 7 years ago

I want to change folder structure in build folder. My folder structure will be:

I can not customize my folder structure, is there any way to do this?

Dan503 commented 6 years ago

edit the dest of files in the gulp tasks. so for example in sass task the dest is currently

path.join(taskTarget, dirs.styles.replace(/^_/, ''));

Change it to this:

path.join(taskTarget, 'assets', dirs.styles.replace(/^_/, ''));

This change needs to be applied to the browserify and imagemin tasks as well.