Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    gulp-css-url-to-relativepublic

    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.

    install

    npm i gulp-css-url-to-relative

    Downloadsweekly downloads

    0

    version

    0.0.1

    license

    ISC

    repository

    githubgithub

    last publish

    collaborators

    • avatar