mixtur / webpack-spritesmith

Webpack plugin that converts set of images into a spritesheet and SASS/LESS/Stylus mixins
498 stars 56 forks source link

add source_image info for templates #66

Closed hodzh closed 6 years ago

hodzh commented 6 years ago

Add source_image (path to original sprite file) for compability with gulp.spritesmith

mixtur commented 6 years ago

Hello. Seems like a good idea, but it will also be needed in compileRetina.js. I tried to do this myself, but got confused by my own code. I'll try to rewrite it in cleaner fashion, and we'll proceed from there.

mixtur commented 6 years ago

I just rewrote everything to es6. I figured it'll be easier if I just I add this feature to retina myself which I did.