Socket
Socket
Sign inDemoInstall

gulp-src-ordered-globs

Package Overview
Dependencies
14
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    gulp-src-ordered-globs

gulp.src() wrapper which respects the globs array order (for gulp 3.x) - https://github.com/gulpjs/gulp/issues/837


Version published
Weekly downloads
16
increased by700%
Maintainers
1
Install size
286 kB
Created
Weekly downloads
 

Readme

Source

NOTE: this package should be used with gulp 3.x only, gulp 4's gulp.src() will already have this functionality built-in.

gulp-src-ordered-globs

npm version Build Status Dependency Status devDependency Status

gulp.src() wrapper which respects the globs array order (for gulp 3.x) - https://github.com/gulpjs/gulp/issues/837

Install

npm install --save-dev gulp-src-ordered-globs

How to use

var gulpSrc = require('gulp-src-ordered-globs');
gulpSrc(['src/**', '!src/**/*.js', 'src/vendor/**/*.js'], { base: 'src' })
	.pipe(gulp.dest('dist'));

gulp-src-ordered-globs's signature is pretty much identical to gulp.src's. Just note that the first argument must be an array of globs (otherwise you'd get no advantage from using gulp-src-ordered-globs anyway).

Changelog

  • 1.0.2: Huge refactoring; no longer require base option; fix unit tests; change code style; Readme: add note about gulp 4.
  • 1.0.1: update readme example; some little refactoring.
  • 1.0.0: initial release.

Keywords

FAQs

Last updated on 27 Jan 2015

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