Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gulp-rev-keep-exists

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-rev-keep-exists

Keep existing files, Not change the existing gulp-rev generated file.

  • 1.0.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

gulp-rev-keep-exists

NPM version Downloads

Keep existing files, Not change the existing gulp-rev generated file.

Install

$ npm i --save gulp-rev-keep-exists

Usage

var gulp = require('gulp');
var rev = require('gulp-rev');
var revKeep = require('gulp-rev-keep-exists');
var revDel = require('gulp-rev-del-redundant');

gulp.task('default', function () {
    return gulp.src(['src/css/**/*.css','src/js/**/*.js'])
        .pipe(rev())
        .pipe(revKeep('dest'))      //<-- keep
        .pipe(gulp.dest('dest'))
        .pipe(revKeep.restore())    //<-- restore keep
        .pipe(rev.manifest())
        .pipe(gulp.dest('rev'))
        .pipe(revDel({ dest: 'dest', force: true }));
});

License

MIT © LinQuan

The Spratly Islands are China's territory.
The Diaoyu Islands are China's territory.
Use this module to represent you agree with the above point of view.

Keywords

FAQs

Package last updated on 19 Jul 2016

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc