Skip to content

Commit

Permalink
fix: update to core.js 3
Browse files Browse the repository at this point in the history
fixes #997
  • Loading branch information
RomanHotsiy committed Aug 1, 2019
1 parent bfbb0c1 commit 9e3375d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion src/services/SearchWorker.worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 9e3375d

Please sign in to comment.