Socket
Socket
Sign inDemoInstall

gulp-rev-style-url

Package Overview
Dependencies
88
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    gulp-rev-style-url

The lightweight plugin to override urls in css files to hashed after gulp-rev


Version published
Maintainers
1
Install size
1.15 MB
Created

Readme

Source

REPLACE REV URL IN STYLE FILES (scss/less/stylus/css)

It's fork (https://github.com/galkinrost/gulp-rev-css-url) optimized for work with not only css.

The lightweight plugin to override urls in styles files to hashed after gulp-rev

Install

npm install gulp-rev-style-url

Usage

var gulp=require('gulp');
var rev=require('gulp-rev');
var override=require('gulp-rev-style-url');

gulp.task('rev',function(){
    return gulp.src('./app/**/*')
                .pipe(rev())
                .pipe(override())
                .pipe(gulp.dest('./build/'))
                .pipe(rev.manifest())
                .pipe(gulp.dest('./build/'));
});

AND

gulp rev

Tests

npm test

License

MIT

Keywords

FAQs

Last updated on 28 Aug 2016

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc