gulp-dedupe

WebJar for gulp-dedupe

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

gulp-dedupe
Last Version

Last Version

0.0.2
Release Date

Release Date

Type

Type

jar
Description

Description

gulp-dedupe
WebJar for gulp-dedupe
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/hoho/gulp-dedupe

Download gulp-dedupe

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/gulp-dedupe/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>gulp-dedupe</artifactId>
    <version>0.0.2</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/gulp-dedupe/
implementation 'org.webjars.npm:gulp-dedupe:0.0.2'
// https://jarcasting.com/artifacts/org.webjars.npm/gulp-dedupe/
implementation ("org.webjars.npm:gulp-dedupe:0.0.2")
'org.webjars.npm:gulp-dedupe:jar:0.0.2'
<dependency org="org.webjars.npm" name="gulp-dedupe" rev="0.0.2">
  <artifact name="gulp-dedupe" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='gulp-dedupe', version='0.0.2')
)
libraryDependencies += "org.webjars.npm" % "gulp-dedupe" % "0.0.2"
[org.webjars.npm/gulp-dedupe "0.0.2"]

Dependencies

compile (5)

Group / Artifact Type Version
org.webjars.npm : lodash.defaults jar [2.4.1,2.5)
org.webjars.npm : colors jar [1.0.2,1.1)
org.webjars.npm : diff jar [1.0.8,1.1)
org.webjars.npm : gulp-util jar [3.0.1,3.1)
org.webjars.npm : through jar [2.3.6,2.4)

Project Modules

There are no modules declared in this project.

gulp-dedupe Build Status

This plugin is checking for duplicate files (based on their name) in the stream and filter them or throw an error.

Install:

npm install gulp-dedupe --save-dev

Example:

var dedupe = require('gulp-dedupe');

...
    .pipe(dedupe()) // Remove duplicates from previous tasks (if any).
    .pipe(concat('bundle.css')) // For example, we need to concat the result without duplicates.
    .pipe(gulp.dest('./build'));

dedupe(options) optionally accepts options object. The following options are available:

  • error to emit an error in case of duplicate (false by default).
  • same to emit an error in case duplicates have different contents (true by default).
  • diff to supply duplicates with different contents error from previous option with actual diff (false by default).

Versions

Version
0.0.2