Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

docpad-plugin-browserifybundles

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

docpad-plugin-browserifybundles

Bundle scripts into browserify packages

  • 2.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Browserify Bundles for DocPad

Build Status NPM version Dependency Status Development Dependency Status
Gittip donate button Flattr donate button PayPayl donate button BitCoin donate button

Bundle scripts into browserify packages

Install

docpad install browserifybundles

Usage

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:

  • entry a 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
  • out a String pointing to where the bundle should be written, it is prefixed with the project's outPath if it is a relative path
  • ignore a String or Array of Strings for which modules should not be bundled with this bundle
  • require a String or Array of Strings of paths that should be bundled with this bundle
  • arguments an 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:

Sponsors

No sponsors yet! Will you be the first?

Gittip donate button Flattr donate button PayPayl donate button BitCoin donate button

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)

Keywords

FAQs

Package last updated on 17 Jan 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc