gulp-inline-image
v1.0.0
Published
Gulp implementation of Compass's inline-image function
Downloads
750
Maintainers
Readme
gulp-inline-image
A Gulp implementation of Compass's inline-image Data Helper.
Accepts image paths relative to the source files including them.
Installation
npm install gulp-inline-image
Usage
var gulp = require('gulp');
var inlineimage = require('gulp-inline-image');
gulp.task('styles', function() {
gulp.src('./css/*.css')
.pipe(inlineimage())
.pipe(gulp.dest('./dist'));
});
gulp.task('default', ['styles']);