SC5 / sc5-styleguide

Styleguide generator is a handy little tool that helps you generate good looking styleguides from stylesheets using KSS notation
http://styleguide.sc5.io/
MIT License
1.26k stars 168 forks source link

Prevent source files being copied inside of the destination folder #1132

Open alexd-3d opened 6 years ago

alexd-3d commented 6 years ago

Not sure if it's issue or feature but I'm wondering why generate() method copies all processed source files (*.scss) inside of the destination folder? It makes a real mess inside of a Styleguide Output root folder :( Generally it just needs to parse them, because generation of .css either way goes from source files in sass(....).applyStyles() etc. Seems like if I delete all of them from output SG works correctly so it doesn't depend on them. I can delete them automatically with gulp task, but I also have other tasks that uploads everything in my projects to host - and there's no way to prevent it. And two tasks come into clash - one uploads unnecessary .scss from SG and other - tries to delete them. Is there any way to avoid copying souce .scss files inside SG output? Or maybe there can by applied some filter in original gulp task provided in examples? Thanks in advance.