-
Notifications
You must be signed in to change notification settings - Fork 6
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
Courtesy notice: gulp.spritesmith exists #3
Comments
Hi, @twolfson. But, there is one feature that i need and your gulp-plugin miss it - groupBy param. If its specifed, plugin output a few sprites/styles files, please see readme in my repo. What do you think about implementation this in your plugin? If so, I just unpublish mine from npm. |
The documentation doesn't fully explain what the output of
var groups = ['basic', 'green', 'light', 'dark'];
groups.forEach(function (group) {
gulp.task('sprites-' + group, function () {
gulp.src('./src/' + group + '/png/*.png')
.pipe(tasks.spritesmith({
imgName: 'sprite' + group + '.png',
styleName: 'sprite' + group + '.css',
imgPath: '../img/sprite' + group + '.png'
}))
.pipe(gulpif('*.png', gulp.dest('./dist/img/')))
.pipe(gulpif('*.css', gulp.dest('./dist/css/')));
});
});
gulp.task('sprites', groups.map(function (group) {
return 'sprites-' + group;
})); |
+1 for deprecating this package. It's highly confusing... |
|
Same here, lots of time wasted debugging ancient version of gm referenced through old version of spritesmith. |
This is a courtesy notice. It seems that you, @Otouto, and I wrote a
grunt-spritesmith
port at the same time. Since you are still developinggulp-spritesmith
, it seems like you have not heard about my port. As a result, I am opening this issue to notify you mine exists.https://github.com/twolfson/gulp.spritesmith
Do not feel required to halt development. Just be aware that mine exists. Feel free to close this issue.
The text was updated successfully, but these errors were encountered: