Package Exports
- gulp-rewrite-css
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (gulp-rewrite-css) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
#gulp-rewrite-css
A gulp plugin that allows rewriting url references in CSS
Information
| Package | gulp-rewrite-css |
| Description | Rewrite `url(...)` references in CSS files. |
| Node Version | >= 0.10 |
Installation
npm install --save gulp-rewrite-cssUsage
var gulp = require('gulp'),
rewriteCSS = require('gulp-rewrite-css');
gulp.task('my-rewrite', function() {
var dest = './dist/'
return gulp.src('./static/css/*.css')
.pipe(rewriteCSS({destination:dest}))
.pipe(gulp.dest(dest));
});Options
destination(required) - the target directory for the processed CSS. Paths are rewritten relatively to that directory.[debug](optional, defaults to false) - whether to log what gulp-rewrite-css is doing
License
MIT (c) 2015 Joscha Feth joscha@feth.com