Add babel-polyfill to fix IE11 bug

ReactRenderer used Object.assign which is an ES 2015 feature that is not
supported by IE11. babel-polyfill will now polyfills that function for browsers
that do not support it before ReactRenderer tries to use it.
This commit is contained in:
Tyler Hallada
2018-01-12 15:30:34 -05:00
parent c2094d4388
commit 9ec5f4d09d
2 changed files with 2 additions and 0 deletions

View File

@@ -1,3 +1,4 @@
import 'babel-polyfill';
import React from 'react';
import ReactDOM from 'react-dom';

View File

@@ -9,6 +9,7 @@
"babel-loader": "^6.4.0",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-polyfill": "^6.26.0",
"babel-preset-env": "^1.2.1",
"babel-preset-react": "^6.24.1",
"backbone": "~1.3.2",