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

Avoid generating CSS file #107

Open
VPenkov opened this issue Aug 27, 2017 · 2 comments
Open

Avoid generating CSS file #107

VPenkov opened this issue Aug 27, 2017 · 2 comments

Comments

@VPenkov
Copy link

VPenkov commented Aug 27, 2017

I love this module but I'd like to avoid having a generated CSS file. Is there any way I can do that?

@runepiper
Copy link

preview: false should do the trick.

@mistergraphx
Copy link

As @VPenkov says, even if i only need a scss partials file generated with the sprite, a css file is outputed too in the same folder.

If we use a custom template and scss partial maybe we could asume that the css file could be ommit in most cases.

Reading the code maybe a preview.css = false (or path to css specific dest) configuration option here could do the trick without breaking changes ? : https://github.com/shakyShane/gulp-svg-sprites/blob/master/index.js#L313

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

3 participants