gulp-css-url-to-relative
v0.0.1
Published
convert css absolute url to relative
Downloads
1
Readme
gulp-css-url-to-relative
based on gulp-css-url-to-absolute
Getting Started
install
npm install gulp-css-url-to-relative --save
Once the plugin has been installed, you can go on like that on your gulpfile:
var cssUrlToRelative = require('gulp-css-url-to-relative');
return gulp.src(files)
.pipe(cssUrlToRelative({
root: './'//input your root path
}))
Options
options.root
Type: String
Default value: process.cwd()
(node)
root directory.