pugvdomify
Browserify transform to compile pug files into functions returning virtual-dom nodes.
Add it as you would any other browserify transform. Use the global flag if you think there is a possibility you will be requiring external modules that require pug files.
var pugvdomify = ;var bundler = ;bundler;bundler;//... etc
In your modules you can now do
var myTemplateFunc = ;var myVNodes = ; //returns an array of virtual-dom nodes