sigh-bify
v0.0.3
Published
sigh-plugin for browserify.
Downloads
21
Readme
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: Yesoptions
Options.
Type: Object
Optional: Yespath
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