substack/browser-pack — pull request #13 by dominictarr (2013-05-06 21:50:03+00:00)
Title: allow a custom prelude

I'm using this to make bundles for inside `vm.createNewContext`,
and I want to get the exports of the entry file (and I'm limiting use to entry file)

I considered making a pull request to expose exports, etc on `newRequire`,
but as bundle size is a contentious issue, I decided this was simplest.