Closed davidalejandroaguilar closed 2 years ago
Hey @davidalejandroaguilar,
do you mean that you already have another jQuery instance on the page and you wanna use it instead of bundled one?
react-widget
imports non-jQuery bundles of uploadcare-widget
(uploadcare.js
, uploadcare.min.js
, uploadcare.lang.en.js
or uploadcare.lang.en.min.js
). I mean that react-widget
bundle doesn't contain jQuery code itself, it depends on jquery
npm package. It's up to you how to resolve this dependency.
So please tell me more about the problem you're trying to solve 🙏
Thanks for the time taken to answer @nd0ut , I was actually looking for a bundle that didn't have jQuery
as a dependency. Wanted to have a smaller bundle size.
Closing this now, thanks again.
Is there a non-jQuery bundle for uploadcare/react-widget?
I'm using
"@uploadcare/react-widget": "^2.2.0"
and importing it likeimport { Widget } from '@uploadcare/react-widget/en-min';
.