2.0.0 • Published 12 years ago
docpad-plugin-browserifybundles v2.0.0
Browserify Bundles for DocPad
Bundle scripts into browserify packages
Install
docpad install browserifybundlesUsage
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'
}
]The 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 pathouta String pointing to where the bundle should be written, it is prefixed with the project's outPath if it is a relative pathignorea String or Array of Strings for which modules should not be bundled with this bundlerequirea String or Array of Strings of paths that should be bundled with this bundleargumentsan Array of Strings that should be sent to the browserify executable
History
Discover the change history by heading on over to the HISTORY.md file.
Contribute
Discover how you can contribute by heading on over to the CONTRIBUTING.md file.
Backers
Maintainers
These amazing people are maintaining this project:
- Benjamin Lupton b@lupton.cc (https://github.com/balupton)
Sponsors
No sponsors yet! Will you be the first?
Contributors
No contributors yet! Will you be the first?
Discover how you can contribute by heading on over to the CONTRIBUTING.md file.
License
Licensed under the incredibly permissive MIT license
Copyright © 2013+ Bevry Pty Ltd us@bevry.me (http://bevry.me)
2.0.0
12 years ago







