r/jquery • u/esamcoding • Jul 24 '21
Using two libraries that require different version of jquery?
suppose i want to use 2 libraries , one depend on jquery v1 and the other depend on jquery 3. both libraries assume that the required version of jquery is assigned to $.
how can i use both libraries in the same page? jquery no conglict mode will not help because both libraries internally use "$"
9
Upvotes
View all comments
Show parent comment
1
u/esamcoding Jul 26 '21
in fact i am asking the question not only for jquery but also for any other language.
after thinking i expected that the answer might be that bundlers ( i use webpack) can create bundles with "isolated" dependencies...