browserify / browserify-handbook

how to build modular applications with browserify
Other
4.58k stars 292 forks source link

Fix the excluding example #58

Closed nornagon closed 6 years ago

nornagon commented 9 years ago

Fixes #30

terrierscript commented 9 years ago

+1

tschaub commented 8 years ago

I'm not sure which is more or less mysterious, but an alternative is to correct this example to suggest:

$ browserify -r jquery --standalone jQuery > jquery-bundle.js

(instead of --standalone jquery)

See #62 for the alternative fix.

tschaub commented 8 years ago

As mentioned in #62, I think your fix here is better - as people will get into trouble trying to use --standalone for more non-jquery cases.

goto-bus-stop commented 6 years ago

Thanks!