Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 868 Bytes

README.md

File metadata and controls

28 lines (18 loc) · 868 Bytes

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