# How to get files from CDN

**URL:** <https://community.transloadit.com/t/how-to-get-files-from-cdn/15102>\
**Category:** Uppy\
**Created:** [November 3, 2019, 4:52am UTC](https://community.transloadit.com/t/how-to-get-files-from-cdn/15102 "2019-11-03T04:52:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![akshaybabloo](https://yyz2.discourse-cdn.com/flex032/user_avatar/community.transloadit.com/akshaybabloo/32/151_2.png) [@akshaybabloo](https://community.transloadit.com/u/akshaybabloo)\
**Post date:** [November 3, 2019, 4:52am UTC](https://community.transloadit.com/t/how-to-get-files-from-cdn/15102/1 "2019-11-03T04:52:02Z")

</div>

Is there a way to get the CDN files that is

[https://transloadit.edgly.net/releases/uppy/v1.5.2/uppy.min.css](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](https://transloadit.edgly.net/releases/uppy/v1.5.2/uppy.min.js) from NPM?

---

<div class="post-metadata">

**Author:** ![ajkachnic](https://yyz2.discourse-cdn.com/flex032/user_avatar/community.transloadit.com/ajkachnic/32/260_2.png) [@ajkachnic](https://community.transloadit.com/u/ajkachnic)\
**Post date:** [July 8, 2020, 6:41pm UTC](https://community.transloadit.com/t/how-to-get-files-from-cdn/15102/2 "2020-07-08T18:41:42Z")

</div>

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

```auto
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
