Commit bd2509a0 authored by Dan Abramov's avatar Dan Abramov Committed by GitHub
Browse files

Add Object.assign() polyfill (#399)

parent ed97055e
No related merge requests found
Showing with 5 additions and 0 deletions
+5 -0
...@@ -8,3 +8,7 @@ if (typeof Promise === 'undefined') { ...@@ -8,3 +8,7 @@ if (typeof Promise === 'undefined') {
// fetch() polyfill for making API calls. // fetch() polyfill for making API calls.
require('whatwg-fetch'); require('whatwg-fetch');
// Object.assign() is commonly used with React.
// It will use the native implementation if it's present and isn't buggy.
Object.assign = require('object-assign');
...@@ -65,6 +65,7 @@ ...@@ -65,6 +65,7 @@
"http-proxy-middleware": "0.17.0", "http-proxy-middleware": "0.17.0",
"jest": "14.1.0", "jest": "14.1.0",
"json-loader": "0.5.4", "json-loader": "0.5.4",
"object-assign": "4.1.0",
"opn": "4.0.2", "opn": "4.0.2",
"path-exists": "3.0.0", "path-exists": "3.0.0",
"postcss-loader": "0.9.1", "postcss-loader": "0.9.1",
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment