/gulp-cssurl

A plugin to systematically replace URLs in CSS code

Primary LanguageJavaScriptMIT LicenseMIT

Gulp-cssurl NPM version

A plugin to systematically replace URLs in CSS code with cssurl.

Node support: 0.10.x, 0.11.x

var gulp = require('gulp');
var cssurl = require('gulp-cssurl');

gulp.task('default', function() {
    gulp.src('src/*.css')
    .pipe(cssurl())
    .pipe(gulp.dest('build'));
});

Install

Install gulp-cssurl with npm:

$ npm install gulp-cssurl --save-dev

Contributing

To contribute to gulp-cssurl, clone this repo locally and commit your code.

Please check that everything works before opening a pull-request.

License

gulp-cssurl is licensed under the MIT License