Skip to content

Commit 152fd36

Browse files
fixed UMD builds;
1 parent fc263c0 commit 152fd36

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

Diff for: CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
66

77
For changes before version 0.1.6, please see the commit history
88

9+
## [0.1.10] - 2020-12-15
10+
11+
### Fixed
12+
- UMD builds;
13+
914
## [0.1.9] - 2020-12-13
1015

1116
### Fixed

Diff for: README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ $ yarn add cp-axios
3939
```
4040

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

4545
module global export- `cpAxios`

Diff for: rollup.config.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ const config = mode === 'development' ? [
4040
banner
4141
},
4242
plugins: [
43-
resolve(),
43+
resolve({browser: true}),
4444
commonjs(),
4545
json()
4646
]
@@ -55,7 +55,7 @@ const config = mode === 'development' ? [
5555
banner
5656
},
5757
plugins: [
58-
resolve(),
58+
resolve({browser: true}),
5959
commonjs(),
6060
json(),
6161
terser()

0 commit comments

Comments
 (0)