Y
Y
Yura Komarov2019-11-20 21:48:57
JavaScript
Yura Komarov, 2019-11-20 21:48:57

gulp.spritesmith-multi plugin not working with gulp 4?

There is an interesting plugin https://github.com/reducejs/gulp.spritesmith-multi and it launches another plugin https://github.com/twolfson/gulp.spritesmith on startup .
On version gulp 3.9 everything worked fine, but in version 4 it gives an error

file.pipe is not a function
    at loadPixels (D:\demo\web42\node_modules\gulp.spritesmith-multi\node_modules\pixelsmith\lib\engine.js:40:16)

But this error crashed because of the gulp.spritesmith plugin and was fixed, https://github.com/twolfson/gulp.spritesmith/issues/135 (in version 6.9.0)
I just started to understand all these plugins and I don't really understand how and what hooks dependencies.
I looked here and realized that internal dependencies are installed for each plugin separately (like)
Tell me if it is possible to quickly fix the plugin https://github.com/reducejs/gulp.spritesmith-multi under 4 gulp, there is only 60 lines of code. Or is there some way to update the dependencies for it?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question