mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-29 12:03:44 +03:00
parent
bfbb0c1787
commit
9e3375d12d
|
@ -126,7 +126,7 @@
|
||||||
"yaml-js": "^0.2.3"
|
"yaml-js": "^0.2.3"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"core-js": "^2.6.5",
|
"core-js": "^3.1.4",
|
||||||
"mobx": "^4.2.0 || ^5.0.0",
|
"mobx": "^4.2.0 || ^5.0.0",
|
||||||
"react": "^16.8.4",
|
"react": "^16.8.4",
|
||||||
"react-dom": "^16.8.4",
|
"react-dom": "^16.8.4",
|
||||||
|
|
|
@ -2,7 +2,7 @@ import * as lunr from 'lunr';
|
||||||
|
|
||||||
try {
|
try {
|
||||||
// tslint:disable-next-line
|
// tslint:disable-next-line
|
||||||
require('core-js/es6/promise'); // bundle into worker
|
require('core-js/es/promise'); // bundle into worker
|
||||||
} catch (_) {
|
} catch (_) {
|
||||||
// nope
|
// nope
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user