browser-pack icon indicating copy to clipboard operation
browser-pack copied to clipboard

Reference the require function as `module.require`

Open fb55 opened this issue 12 years ago • 3 comments

(should) fix substack/node-browserify#475

fb55 avatar Aug 21 '13 14:08 fb55

How similar is this to #73?

terinjokes avatar Jun 08 '16 17:06 terinjokes

@terinjokes This is not the same as #73. The problem that #73 fixes is to expose the global require function before any module code is executed. This pr makes that function available inside module code.

tellnes avatar Jun 08 '16 20:06 tellnes

Many thanks to @fb55, seems like this is still an issue for some people, including me.

montamal avatar Feb 24 '20 18:02 montamal