0.0.3 • Published 8 years ago

sigh-bify v0.0.3

Weekly downloads
3
License
Beerware
Repository
github
Last release
8 years ago

sigh-bify

sigh-plugin for browserify.

INSTALL

npm i sigh-bify --save-dev

Also, you need install browserify and watchify if you are going to use sigh in watch mode:

npm i sigh-bify browserify watchify --save-dev

USAGE

var merge, glob, concat, write, env, pipeline;
var bify;

module.exports = function(pipelines) {
	var b = browserify();
	pipelines["build"] = [
		glob({basePath: "src"}, "app.js"),
		bify(b),
		write("dist")
	];
};

API

bify(b, options)
  • b
    Browserify instance.
    Type: Browserify
    Required: Yes

  • options
    Options.
    Type: Object
    Optional: Yes

    * `path`  
    Type: String  
    Bundle file path. 
    If not specified will be taken from first file from glob stream.

TODO

  • handle adding removing
  • handle factor-bundle plugin