Skip to content

Commit bf459d8

Browse files
authored
Merge pull request #41 from crobinson42/master
Webpack build UMD, update babel-preset
2 parents c828826 + 4ef52c1 commit bf459d8

File tree

5 files changed

+613
-9
lines changed

5 files changed

+613
-9
lines changed

.babelrc

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
11
{
2-
"presets":["es2015"],
3-
"plugins":[
4-
"transform-object-rest-spread"
5-
]
2+
"presets":["latest", "stage-1"]
63
}

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# redux-axios-middleware
22

3+
[![npm version](https://badge.fury.io/js/redux-axios-middleware.svg)](https://badge.fury.io/js/redux-axios-middleware)
4+
5+
36
Redux middleware for fetching data with axios HTTP client
47

58
## Installation
@@ -8,6 +11,9 @@ Redux middleware for fetching data with axios HTTP client
811
npm i -S redux-axios-middleware
912
```
1013

14+
> You can also use in browser via `<script src="https://unpkg.com/redux-axios-middleware@3.1.0/dist/bundle.js"></script>`,
15+
the package will be available under namespace `ReduxAxiosMiddleware`
16+
1117
## How to use?
1218

1319
### Use middleware

0 commit comments

Comments
 (0)