Add to bower.json
{
"dependencies": {
"gulp-tasks": "https://github.com/ConnectHolland/gulp-tasks.git#^2.0"
}
}
With the task inline-images you can create a 'sprite' of inline css images. The task generates an scss file with the inline-image($name) mixin and .inline-image-* css classes.
Make sure the following packages are available:
"gulp-add-src": "^0.2.0",
"gulp-concat": "^2.5.2",
"gulp-image-data-uri": "^1.2.1",
Example configuration of config.json:
"inline-images": {
"src": [
"images/icons2x/*"
]
}