Skip to content

Commit

Permalink
Fix incompatibility with IE8 in minified version
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorhakes committed Jan 25, 2018
1 parent 12601b2 commit adc56db
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

### 7.0.2

* Added IE8 compatability back to minify

### 7.0.1

* Fixed a bug in 'catch' keyword in IE8
Expand Down
2 changes: 1 addition & 1 deletion dist/polyfill.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/promise.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "promise-polyfill",
"version": "7.0.1",
"version": "7.0.2",
"description": "Lightweight promise polyfill. A+ compliant",
"main": "lib/index.js",
"jsnext:main": "src/index.js",
Expand Down
7 changes: 7 additions & 0 deletions rollup.umd.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,14 @@ if (process.env.NODE_ENV === 'production') {
unsafe: true,
unsafe_comps: true,
warnings: false,
ie8: true
},
mangle: {
ie8: true
},
output: {
ie8: true
}
})
);
}
Expand Down

0 comments on commit adc56db

Please sign in to comment.