Skip to content

Commit 9f7f5eb

Browse files
bennamsapegin
authored andcommitted
Fix: Add es6-object-assign polyfill to support IE11 (#285)
1 parent 390ba4e commit 9f7f5eb

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@
7777
"css-modules-require-hook": "~4.0.5",
7878
"dog-names": "~1.0.2",
7979
"enzyme": "~2.5.1",
80+
"es6-object-assign": "^1.0.3",
8081
"eslint": "~3.9.1",
8182
"eslint-config-tamia": "~3.2.1",
8283
"eslint-plugin-react": "~6.5.0",

src/index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ import StyleGuide from 'rsg-components/StyleGuide';
1414

1515
import 'highlight.js/styles/tomorrow.css';
1616
import './styles.css';
17+
import es6ObjectAssign from 'es6-object-assign';
18+
19+
es6ObjectAssign.polyfill();
1720

1821
// Make libraries available in examples
1922
global.React = React;

0 commit comments

Comments
 (0)