whisper-browserify

Compiles CommonJS modules with Browserify.

npm install whisper-browserify
4 downloads in the last week
16 downloads in the last month

Whisper: Browserify Build Status

Compiles CommonJS modules with Browserify.

Example

Define a list of files that should be fed to browserify, and the destination of the bundles in your .whisper file:

module.exports = function(whisper) {
  whisper.configure({
    browserify: {
      entry: ['lib/*.js'],
      output: ['browser/'],
      debug: true
    }
  })

  require('whisper-browserify')(whisper)
}

And invoke the whisper browserify task on your project to compile the files:

$ whisper browserify

Installing

Just grab it from NPM:

$ npm install whisper-browserify

Documentation

Just invoke whisper help browserify to show the manual page for the browserify task.

Licence

MIT/X11. ie.: do whatever you want.

npm loves you