twolfson / gulp.spritesmith

Convert a set of images into a spritesheet and CSS variables via gulp
The Unlicense
1.08k stars 81 forks source link

Separate destination folder image and css #119

Closed myurtsev closed 7 years ago

myurtsev commented 7 years ago

Hi, I was wondering how I can set a different destination folder for the generated image and the css. Now they are both in the same folder. Ty!

twolfson commented 7 years ago

Separate folders can be managed by using the separate image and CSS streams. See the "Continuing the pipeline" example in the README as an example. You won't need the buffer and optimization streams, only the split dests:

https://github.com/twolfson/gulp.spritesmith/tree/6.4.0#continuing-the-pipeline

On Mar 30, 2017 1:46 AM, "Murtaza Yurtsev" notifications@github.com wrote:

Hi, I was wondering how I can set a different destination folder for the generated image and the css. Now they are both in the same folder. Ty!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/twolfson/gulp.spritesmith/issues/119, or mute the thread https://github.com/notifications/unsubscribe-auth/AA3FWB0UD9J7OHpT2wJTdq-nRwg5DY9Uks5rq2v8gaJpZM4MuC87 .