Get JS file insted of use cdn

Hello,
Current i am using https://releases.transloadit.com/uppy/v4.3.0/uppy.min.mjs

Is there any way so i can get js file and use it instead of using CDN directly.

Thanks in advance.

Hi, I’m not sure what you mean with the JS file directly, that’s kind of that the CDN is. Otherwise you can use the packages from the npm registry.

I am using .js files for my project,.
https://releases.transloadit.com/uppy/v4.3.0/uppy.min.mjs is
Has extension (.mjs) . i do not want to use .mjs file extension, Is there any way that i can get minified js file for current version(4.3.0).

You can just remove the m from the extension:

https://releases.transloadit.com/uppy/v4.3.0/uppy.min.js

Note that .mjs is preferred if you want to load the bundle inside a script with type="module", which is generally better.

1 Like

Perfectly answered many thanks