# Uppy.min.mjs does not provide an export named DragDrop

**URL:** <https://community.transloadit.com/t/uppy-min-mjs-does-not-provide-an-export-named-dragdrop/17702>\
**Category:** Uppy\
**Created:** [August 26, 2025, 8:26pm UTC](https://community.transloadit.com/t/uppy-min-mjs-does-not-provide-an-export-named-dragdrop/17702 "2025-08-26T20:26:29Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Johnnygde](https://yyz2.discourse-cdn.com/flex032/user_avatar/community.transloadit.com/johnnygde/32/1397_2.png) [@Johnnygde](https://community.transloadit.com/u/Johnnygde)\
**Post date:** [August 26, 2025, 8:26pm UTC](https://community.transloadit.com/t/uppy-min-mjs-does-not-provide-an-export-named-dragdrop/17702/1 "2025-08-26T20:26:29Z")

</div>

I used this example in the docs:

> **[Drag & Drop | Uppy](https://uppy.io/docs/drag-drop/#install)**
>
> The @uppy/drag-drop plugin renders a drag and drop area for file selection.

but it seems like uppy.min.mjs does not provide the DragDrop option.  
( console error: … does not provide an export named DragDrop )

Where can I get an uppy.mjs file that includes it ?  
On github I cannot find any of the othe rpossible uppy.mjs ( uppy.js ) files.  
Will I have to compile / extract it from any of the files named as package / bundle there?  
If so, how would I do that ?

I will not use any framework. just “CDN” - meaning I would like to use a js / mjs file locally on my server and use a simple upload of one picture with preview combined with php on serverside.  
Pictures primary will be captured form a camera of a mobile device.  
So this feature / plugin would have to work as well.

what exactly will I have to do to create / get the mjs file for my requirements?

And one further question regarding the doc mentioned above:  
What does the “Use” part means there?  
As far as I can see, the “CDN” part already includes the “use” part in the script type=module.  
Is it not ?

---

<div class="post-metadata">

**Author:** ![Merlijn](https://yyz2.discourse-cdn.com/flex032/user_avatar/community.transloadit.com/merlijn/32/1382_2.png) [@Merlijn](https://community.transloadit.com/u/Merlijn)\
**Post date:** [August 27, 2025, 9:45am UTC](https://community.transloadit.com/t/uppy-min-mjs-does-not-provide-an-export-named-dragdrop/17702/2 "2025-08-27T09:45:58Z")

</div>

Putting them back on the CDN now:

> <https://github.com/transloadit/uppy/pull/5931>
>
> While the frameworks have good alternatives now with new components and hooks, U…ppy is also popular in 'vanilla' JS setups without frameworks using the CDN bundle. Consumers of this were left with no viable alternative so it's sensible to bring back status bar and drag drop for the CDN publish (at least until we also publish/document using hooks via CDN).
> 
> \- Bring back \`@uppy/status-bar\` and \`@uppy/drag-drop\` from git tag \`4.18.1\` (latest release before 5.0)
> \- Put exports maps on both packages
> \- Put both packages in the CDN bundle
> \- Version appropriately with changesets

---

<div class="post-metadata">

**Author:** ![Johnnygde](https://yyz2.discourse-cdn.com/flex032/user_avatar/community.transloadit.com/johnnygde/32/1397_2.png) [@Johnnygde](https://community.transloadit.com/u/Johnnygde)\
**Post date:** [August 27, 2025, 11:04am UTC](https://community.transloadit.com/t/uppy-min-mjs-does-not-provide-an-export-named-dragdrop/17702/3 "2025-08-27T11:04:23Z")

</div>

Many thanks.

But does that mean it is not really recommended to use the CDN version ?

---

<div class="post-metadata">

**Author:** ![Merlijn](https://yyz2.discourse-cdn.com/flex032/user_avatar/community.transloadit.com/merlijn/32/1382_2.png) [@Merlijn](https://community.transloadit.com/u/Merlijn)\
**Post date:** [August 27, 2025, 11:42am UTC](https://community.transloadit.com/t/uppy-min-mjs-does-not-provide-an-export-named-dragdrop/17702/4 "2025-08-27T11:42:27Z")

</div>

You would be shipping potentially significantly more code than you actually use so npm would always be preferred if you want to avoid that

---

<div class="post-metadata">

**Author:** ![Johnnygde](https://yyz2.discourse-cdn.com/flex032/user_avatar/community.transloadit.com/johnnygde/32/1397_2.png) [@Johnnygde](https://community.transloadit.com/u/Johnnygde)\
**Post date:** [August 27, 2025, 6:03pm UTC](https://community.transloadit.com/t/uppy-min-mjs-does-not-provide-an-export-named-dragdrop/17702/5 "2025-08-27T18:03:43Z")

</div>

ok, but I will have to install (and maintain) a full framework.  
That is (at least for my usecase) completely oversized.

Why is it not possible to just use different mjs files containing the plugins required?

Who will adjust the links in the doc mentioned ?  
as far as I understand that it is included in v4.18.1 now (it is working there) but in v5.0.0 it is not.
