broccolify
v0.1.5
Published
Browserify plugin for Broccoli
Downloads
2
Readme
broccolify
Use require('modules')
in the browser with
browersify
and broccoli
Install
npm install --save-dev broccolify
Example
var browserify = require('broccolify');
tree = browserify(tree, options);
API
browserify(tree, options)
tree
: A broccoli tree or a directory path as a string
####Options
entries
: (default[]
) Array of files to be used as entry pointsoutputFile
: (default"./browserify.js"
) Output filebrowserify
: (default{}
) Options passed to the browserify constructorbundle
: (default{}
) Options passed to browserify bundle methodrequire
: (default []) An array of file, option pairs passed to browserify require methodignore
: (default []) An array of file, option pairs passed to browserify ignore method
Changelog
0.1.0
- Updated to use broccoli-writer instead of deprecated broccoli-transform (thanks mjijackson)
- Added require option to call browserify.require()
- Improved Readme file
0.0.1
- Initial release
Contributors
License
MIT © Gareth Andrew