-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added jquery
injection
#127
base: main
Are you sure you want to change the base?
Conversation
If you really want to use `jquery-browserify` (useless IMO), just map `jquery` to `jquery-browserify` using Browserify's `require`. Build tools should not interfere with code.
I was about to make this PR myself :) Love this plugin! If you merge this PR to improve the UMD wrapper, it would make it a tad cleaner to use in a CommonJS environment |
Not sure about that... In jQuery Core if you use Browserify Wouldn't a similar approach work here? |
Bumping this! |
My comment from #127 (comment) still stands; in my opinion, it'd be better to duplicate the jQuery wrapper. @dmethvin what do you think? |
If you really want to use
jquery-browserify
,just map
jquery
tojquery-browserify
using Browserify'srequire
.Build tools should not interfere with code.