Skip to content

Commit 34442ce

Browse files
author
Ives van Hoorne
committed
Use es6-shim instead of polyfill
1 parent d837524 commit 34442ce

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@
110110
"cssnano": "^3.10.0",
111111
"debug": "^2.6.8",
112112
"downshift": "^1.0.0-rc.14",
113+
"es6-shim": "^0.35.3",
113114
"eslint-config-react-app": "^1.0.5",
114115
"file-saver": "^1.3.3",
115116
"glamor": "^2.20.25",

src/common/load-dynamic-polyfills.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ function detectIE() {
2020

2121
export default function requirePolyfills() {
2222
if (detectIE()) {
23-
return import('babel-polyfill');
23+
return import('es6-shim');
2424
}
2525

2626
return Promise.resolve();

yarn.lock

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3067,6 +3067,10 @@ es6-set@~0.1.5:
30673067
es6-symbol "3.1.1"
30683068
event-emitter "~0.3.5"
30693069

3070+
es6-shim@^0.35.3:
3071+
version "0.35.3"
3072+
resolved "https://registry.yarnpkg.com/es6-shim/-/es6-shim-0.35.3.tgz#9bfb7363feffff87a6cdb6cd93e405ec3c4b6f26"
3073+
30703074
[email protected], es6-symbol@^3.1, es6-symbol@^3.1.1, es6-symbol@~3.1, es6-symbol@~3.1.1:
30713075
version "3.1.1"
30723076
resolved "https://registry.yarnpkg.com/es6-symbol/-/es6-symbol-3.1.1.tgz#bf00ef4fdab6ba1b46ecb7b629b4c7ed5715cc77"

0 commit comments

Comments
 (0)