Closed tschaub closed 8 years ago
The exclude example fails with an uncaught TypeError: $ is not a function.
TypeError: $ is not a function
Instead of assigning jquery to the global in the standalone module, it should assign jQuery.
jquery
jQuery
The current example suggests:
$ browserify -r jquery --standalone jquery > jquery-bundle.js
Instead this should be:
$ browserify -r jquery --standalone jQuery > jquery-bundle.js
Fixes #30.
I see now that --standalone doesn't work when trying to create bundles for other modules, so I think that #58 is a better fix for #30.
--standalone
The exclude example fails with an uncaught
TypeError: $ is not a function
.Instead of assigning
jquery
to the global in the standalone module, it should assignjQuery
.The current example suggests:
Instead this should be:
Fixes #30.