Add promise polyfill

This commit is contained in:
Ken-Håvard Lieng 2018-04-30 22:41:12 +02:00
parent 33e0f67766
commit d4d03eac12
3 changed files with 3 additions and 1 deletions

View File

@ -49,6 +49,7 @@
"autolinker": "^1.4.3", "autolinker": "^1.4.3",
"backo": "^1.1.0", "backo": "^1.1.0",
"base64-arraybuffer": "^0.1.5", "base64-arraybuffer": "^0.1.5",
"es6-promise": "^4.2.4",
"fontfaceobserver": "^2.0.9", "fontfaceobserver": "^2.0.9",
"history": "4.5.1", "history": "4.5.1",
"immer": "^1.2.1", "immer": "^1.2.1",

View File

@ -1,3 +1,4 @@
import 'es6-promise/auto';
import React from 'react'; import React from 'react';
import { render } from 'react-dom'; import { render } from 'react-dom';

View File

@ -2512,7 +2512,7 @@ es-to-primitive@^1.1.1:
is-date-object "^1.0.1" is-date-object "^1.0.1"
is-symbol "^1.0.1" is-symbol "^1.0.1"
es6-promise@^4.1.1: es6-promise@^4.1.1, es6-promise@^4.2.4:
version "4.2.4" version "4.2.4"
resolved "https://registry.yarnpkg.com/es6-promise/-/es6-promise-4.2.4.tgz#dc4221c2b16518760bd8c39a52d8f356fc00ed29" resolved "https://registry.yarnpkg.com/es6-promise/-/es6-promise-4.2.4.tgz#dc4221c2b16518760bd8c39a52d8f356fc00ed29"