ForbesLindesay/browserify-middleware — pull request #48 by afbobak (2014-05-03 09:22:24+00:00)
Title: Add option 'bundleExternal'

Browserify generates a package identifier for require statements if a packaged module is in the same project and defined as external at the same time, this makes the `require()` fail with unknown package identifiers because it's bundled in a different file with a different identifier.

Setting `bundleExternal` to `false` fixes the problem.