Skip to content

Commit f8ae34e

Browse files
committed
add browser bundle
1 parent 3aca9d6 commit f8ae34e

File tree

6 files changed

+520
-4
lines changed

6 files changed

+520
-4
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
/node_modules
2-
/lib
2+
/lib
3+
/dist
4+
/.rpt2_cache

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,12 @@ In CommonJS format you should use:
5252
const Store = require('repatch').default;
5353
```
5454

55+
In the browser you should use:
56+
57+
```javascript
58+
var Store = Repatch.default;
59+
```
60+
5561
Repatch's interface is very similar to Redux, therefore you can use with [react-redux](https://www.npmjs.com/package/react-redux).
5662

5763
```javascript
@@ -218,4 +224,4 @@ it('fetchUsers', async () => {
218224

219225
## Developed by
220226

221-
[![JayStack](http://jaystack.com/wp-content/uploads/2017/08/jaystack_logo_transparent_50.png)](http://jaystack.com/)
227+
[![JayStack](http://jaystack.com/wp-content/uploads/2017/08/jaystack_logo_transparent_50.png)](http://jaystack.com/)

0 commit comments

Comments
 (0)