Skip to content

Commit

Permalink
Polyfill error overlay for IE9 support (facebook#5198)
Browse files Browse the repository at this point in the history
* Polyfill for IE9 support

* Turn off performance option in webpack
  • Loading branch information
Timer committed Oct 1, 2018
1 parent 9e074bb commit 1e1019a
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 19 deletions.
1 change: 1 addition & 0 deletions packages/react-error-overlay/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
"promise": "8.0.2",
"raw-loader": "^0.5.1",
"react": "^16.3.2",
"react-app-polyfill": "^0.0.0",
"react-dom": "^16.3.2",
"rimraf": "^2.6.2",
"settle-promise": "1.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/react-error-overlay/src/iframeScript.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* LICENSE file in the root directory of this source tree.
*/

import './utils/pollyfills.js';
import 'react-app-polyfill/ie9';
import React from 'react';
import ReactDOM from 'react-dom';
import CompileErrorContainer from './containers/CompileErrorContainer';
Expand Down
18 changes: 0 additions & 18 deletions packages/react-error-overlay/src/utils/pollyfills.js

This file was deleted.

1 change: 1 addition & 0 deletions packages/react-error-overlay/webpack.config.iframe.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,5 @@ module.exports = {
__REACT_DEVTOOLS_GLOBAL_HOOK__: '({})',
}),
],
performance: false,
};

0 comments on commit 1e1019a

Please sign in to comment.