Open simonzack opened 9 years ago
Maybe - could you post an example of how you envision the workflow?
I'm using this with gulp to build userscripts (greasemonkey). User scripts don't support images (or any local resources at all, really), so they need to be bundled in the html.
I'd recommend you inline the images before you pass them to smoosher, with something like https://github.com/Wenqer/gulp-base64.
@gabrielflorit That's for stylesheets. I'm after inlining images in html, i.e. <img>
tags.
Oh I see. Interesting. There's gotta be a plugin for that. It should be separate from this one. Looking.
Here's one: https://github.com/zckrs/gulp-css-base64
@jgwconsulting that's for stylesheets.
Oops, it would help if I could read properly! Maybe this one: https://github.com/rabidaudio/gulp-inline-image-html
Could this be considered?