You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Gulp.spritesmith should open input images from stream but it tries to open them from disk. For example, this:
var spriteData = gulp.src('.src/sprites/somePicture.svg')
.pipe(svg2png()) // Converts svg image to png and passes to next plugin without saving on disk
.pipe(spritesmith({
imgName: 'sprite.png',
cssName: 'sprite.css'
}));
Causes error: Error: ENOENT, open './src/sprites/somePicture.png'.