Skip to content

Commit 5ea6cf4

Browse files
misticelasticmachine
authored andcommitted
chore(NA): use core-js instead of babel-polyfill on canvas sha… (#63486)
* chore(NA): use core-js instead of babel-polyfill on canvas shareable runtime build * chore(NA): include regenerator-runtime/runtime * chore(NA): change import order between runtime and core js Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
1 parent c2a27d8 commit 5ea6cf4

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • x-pack/legacy/plugins/canvas/shareable_runtime/api

x-pack/legacy/plugins/canvas/shareable_runtime/api/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
* you may not use this file except in compliance with the Elastic License.
55
*/
66

7+
import 'core-js/stable';
8+
import 'regenerator-runtime/runtime';
79
import 'whatwg-fetch';
8-
import 'babel-polyfill';
910

1011
export * from './shareable';

0 commit comments

Comments
 (0)