Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Adds support for compilation of Browserify JavaScript to DocPad

branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Browserify for Docpad

Runs Browserify on JavaScript files specified with the extension .b, .bfy, .bwsrfy or .bowserify


npm install -g docpad-plugin-browserify

Syntax Highlighting

If you are using Sublime Text You can add the following file to Packages/User and restart Sublime Text



This will keep the JavaScript syntax highlighting intact when you change the extensions to example.js.b etc...


This plugin does not really work like I hoped it would. Because Docpad only builds files that have changed, you need to be working on your main app file to get a complete rebuild. If you are working on one of the submodules, Docpad can't sense the dependancy tree. This means that it will not build the correct files and will probably break things on the next reload/live-reload.

Instead take baluptons advice from the Docpad site itself:



Something went wrong with that request. Please try again.