gulp-css-image64
v0.0.2
Published
replace all url() to base64 string
Downloads
1
Readme
gulp-inline-image
[![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Dependency Status][dep-image]][dep-url] [![devDependency Status][devdep-image]][devdep-url] [![Window build status][appveyor-image]][appveyor-url]
A Gulp implementation of Compass's inline-image Data Helper.
Accepts image paths relative to the source files including them.
Installation
npm install gulp-scss-image64
Usage
var gulp = require('gulp');
var css64 = require('gulp-css-image64');
gulp.task('styles', function() {
gulp.src('./css/*.css')
.pipe( css64() )
.pipe(gulp.dest('./dist'));
});
gulp.task('default', ['styles']);