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

gulp-browserify-globs

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-browserify-globs

Gulp + Browserify + Globs in the right way

  • 0.1.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

gulp-browserify-globs travis

Gulp + Browserify + Globs in the right way.

It's just a small package implementing the browserify-with-globs recipe in the official gulp doc.

Install

$ npm install --save-dev gulp-browserify-globs

Usage

browserify(glob, options)

var gulp = require('gulp');
var browserify = require('gulp-browserify-globs');
var reactify = require('reactify');

gulp.task('browserify', function () {
  return browserify(['source/**/*.js'], {
    debug: false,
    transform: [reactify],
    uglify: true
  })
  .pipe(gulp.dest('result'));
});
glob

Type: String or Array<String>

A file or glob pattern to browserify.

Options

Type: Object

An object containing plugin and Browserify options. Available options include the options for browserify and the followings:

outfile

Type: String
Default: 'bundle.js'

An output file name.

uglify

Type: Boolean or Object
Default: false

When set, uglify the bundled result using gulp-uglify. When it's an object, pass it to uglify().

License

MIT @ Jun

Keywords

FAQs

Package last updated on 29 Nov 2015

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