How to get files from CDN

Is there a way to get the CDN files that is

https://transloadit.edgly.net/releases/uppy/v1.5.2/uppy.min.css and https://transloadit.edgly.net/releases/uppy/v1.5.2/uppy.min.js from NPM?

If you install the uppy package on NPM, you will be able to achieve a similar effect to using the CDN. However, you should have a module bundler configured to allow tree-shaking or else it’ll bundle all the plugins with the site even if you don’t use them. Here is an example with this package

import Uppy, { Dashboard /* the rest of plugins you want */ };
import 'uppy/dist/uppy.min.css';

const uppy = Uppy();
uppy.use(Dashboard, {
  target: '#my-target'
});
// ... the rest of your code

I hope this helps. If there’s anything I missed or if you have any further questions or issues, let me know.

- Andrew