Skip to content

Commit

Permalink
Bundle promise polyfill for IE11 (#274)
Browse files Browse the repository at this point in the history
* chore(demo): add home link to all demo

Ref #271

* chore(env): bundle promise polyfill

  - Change the babel plugin to es6-promise-esm
  - it uses import instead of require

Ref #272
  • Loading branch information
Jongmoon Yoon authored Jan 2, 2019
1 parent 72cec19 commit 3118225
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"transform-es3-property-literals",
"transform-es3-member-expression-literals",
"transform-object-assign",
"es6-promise"
"es6-promise-esm"
]
}

6 changes: 3 additions & 3 deletions package-lock.json

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
Expand Up @@ -59,7 +59,7 @@
"babel-eslint": "^10.0.1",
"babel-loader": "^8.0.4",
"babel-plugin-add-module-exports": "^0.2.1",
"babel-plugin-es6-promise": "^1.1.1",
"babel-plugin-es6-promise-esm": "^1.1.1",
"babel-plugin-no-side-effect-class-properties": "0.0.4",
"babel-plugin-transform-es3-member-expression-literals": "^6.22.0",
"babel-plugin-transform-es3-property-literals": "^6.22.0",
Expand Down

0 comments on commit 3118225

Please sign in to comment.