substack/node-browserify — pull request #554 by johnkpaul (2013-12-16 00:30:00+00:00)
Title: Add support for basedir option passed to insert-module-globals

I was trying to influence the outgoing filename by setting basedir in the bundle options, but that wasn't working because the option isn't passed to insertGlobals. This PR just adds that option to the insertGlobals call.