sigh-bify

0.0.3 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i sigh-bify

Weekly Downloads

1

Version

0.0.3

License

Beerware

Last publish

Collaborators

  • iamthes