Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
alexd-3d opened this issue Jun 13, 2018 · 0 comments
Open

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

alexd-3d opened this issue Jun 13, 2018 · 0 comments

Comments

@alexd-3d
Copy link

alexd-3d commented Jun 13, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant