Skip to content

Commit

Permalink
fixed UMD builds;
Browse files Browse the repository at this point in the history
  • Loading branch information
DigitalBrainJS committed Dec 15, 2020
1 parent fc263c0 commit 152fd36
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

For changes before version 0.1.6, please see the commit history

## [0.1.10] - 2020-12-15

### Fixed
- UMD builds;

## [0.1.9] - 2020-12-13

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ $ yarn add cp-axios
```

### CDN bundle

Browser UMD bundle (with all dependencies inside):
- [production UMD bundle](https://unpkg.com/cp-axios) (or [minified](https://unpkg.com/cp-axios/dist/cp-axios.umd.min.js) ~45KB)

module global export- `cpAxios`
Expand Down
4 changes: 2 additions & 2 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const config = mode === 'development' ? [
banner
},
plugins: [
resolve(),
resolve({browser: true}),
commonjs(),
json()
]
Expand All @@ -55,7 +55,7 @@ const config = mode === 'development' ? [
banner
},
plugins: [
resolve(),
resolve({browser: true}),
commonjs(),
json(),
terser()
Expand Down

0 comments on commit 152fd36

Please sign in to comment.