Skip to content
This repository was archived by the owner on Nov 4, 2025. It is now read-only.
This repository was archived by the owner on Nov 4, 2025. It is now read-only.

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

@alexd-3d

Description

@alexd-3d

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions