Skip to content
This repository was archived by the owner on Jun 18, 2018. It is now read-only.

Commit a6eeedc

Browse files
committed
Point people to npmcdn instead of the latest branch
1 parent 5e7150c commit a6eeedc

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,19 @@ See [the docs](http://gaearon.github.io/react-dnd/docs-html5-backend.html) for u
55

66
## Installation
77

8+
If you use [npm](http://npmjs.com):
9+
810
```
911
npm install --save react-dnd-html5-backend
1012
```
1113

12-
While we suggest you to use NPM, you can find the precompiled UMD build in the `dist` folder available on the [`latest` branch](https://github.com/gaearon/react-dnd-html5-backend/tree/latest/dist) as well as in every [tagged release](https://github.com/gaearon/react-dnd-html5-backend/releases). This is where you can point Bower if that’s what you use.
14+
The npm package defaults to the CommonJS build.
15+
16+
However it also includes a pre-minified UMD build in the `dist` folder.
17+
The UMD build exports a global `window.ReactDnDHTML5Backend` when imported as a `<script>` tag.
1318

14-
There is no `dist` folder on the master branch.
19+
If you’d rather not use npm, you can use [npmcdn](http://npmcdn.com/) to access the UMD build directly: [ReactDnDHTML5Backend.min.js](https://npmcdn.com/react-dnd-html5-backend@2.0.2/dist/ReactDnDHTML5Backend.min.js).
20+
You may point your Bower config to it.
1521

1622
## Browser Support
1723

0 commit comments

Comments
 (0)