Discussion Frontend

gulp-sprite-build

It is an npm module which bundles asset images into one file. It is efficient to load one large sprite icon set rather than loading a bunch of small icons.
We should be careful with one thing. When there are thousands of images, the bundled image file could be over a few tens of megabytes. It will take over 1 minute and it is not good user experience to end users.

https://www.npmjs.com/package/gulp-svg-sprite

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *