You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

broccoli-browserify-cache

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

broccoli-browserify-cache

Browserify plugin for Broccoli.

2.0.1
latest
Source
npmnpm
Version published
Maintainers
1
Created
Source

broccoli-browserify-cache

Broccoli plugin to use browserify to bundle all of your dependencies. It will cache the node_modules directory for faster re-builds.

Installation

npm install broccoli-browserify-cache --save-dev

Usage

var browserify = require('broccoli-browserify-cache');

var outputTree = browserify(inputTree, {
  entries: ['./main'],
  outputFile: 'foo.js',
  config: function (b) {
    b.exclude(packageName);
  }
});

Options

  • entries - Array of files to be used as the entry for browserify
  • outputFile - Relative path of the output file.
  • browserifyOptions - Options passed to the browserify constructor
  • cache - Default: true - Whether caching is enabled or not. In production, I would recommend setting this to false.
  • config - Callback with the first argument being the browserify constructor

Keywords

broccoli

FAQs

Package last updated on 11 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