Bundle scripts into browserify packages
docpad install browserifybundles
Add the following to your docpad configuration file:
plugins:browserifybundles:bundles:arguments: '-r''rtc-videoproc/filters/grayscale'entry: 'videoproc.js'out: 'videoproc-bundled.js'ignore: 'jquery'entry: 'miniview.js'out: 'miniview-bundled.js'
bundles option is the list of bundles you want. Each bundle accepts the following arguments:
entrya String pointing to which file should be executed right away with this bundle, it is prefixed with the project's outPath if it is a relative path
outa String pointing to where the bundle should be written, it is prefixed with the project's outPath if it is a relative path
ignorea String or Array of Strings for which modules should not be bundled with this bundle
requirea String or Array of Strings of paths that should be bundled with this bundle
argumentsan Array of Strings that should be sent to the browserify executable
These amazing people are maintaining this project:
No sponsors yet! Will you be the first?
No contributors yet! Will you be the first?
Discover how you can contribute by heading on over to the
Copyright © 2013+ Bevry Pty Ltd firstname.lastname@example.org (http://bevry.me)