fix: update to core.js 3

fixes #997
This commit is contained in:
Roman Hotsiy 2019-08-01 10:34:53 +03:00
parent bfbb0c1787
commit 9e3375d12d
No known key found for this signature in database
GPG Key ID: 5CB7B3ACABA57CB0
2 changed files with 2 additions and 2 deletions

View File

@ -126,7 +126,7 @@
"yaml-js": "^0.2.3"
},
"peerDependencies": {
"core-js": "^2.6.5",
"core-js": "^3.1.4",
"mobx": "^4.2.0 || ^5.0.0",
"react": "^16.8.4",
"react-dom": "^16.8.4",

View File

@ -2,7 +2,7 @@ import * as lunr from 'lunr';
try {
// tslint:disable-next-line
require('core-js/es6/promise'); // bundle into worker
require('core-js/es/promise'); // bundle into worker
} catch (_) {
// nope
}