Skip to content

Commit 543233d

Browse files
committed
Suggested fixes
1 parent 061fc5c commit 543233d

File tree

2 files changed

+1
-12
lines changed

2 files changed

+1
-12
lines changed

src/core/public/injected_metadata/injected_metadata_service.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,6 @@ export interface InjectedMetadataParams {
8888
user?: Record<string, UserProvidedValues>;
8989
};
9090
};
91-
apm: {
92-
[key: string]: unknown;
93-
};
9491
};
9592
}
9693

src/legacy/ui/ui_bundles/app_entry_template.js

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -28,21 +28,13 @@ export const appEntryTemplate = bundle => `
2828
* context: ${bundle.getContext()}
2929
*/
3030
31-
// import global polyfills
32-
import Symbol_observable from 'symbol-observable';
33-
import 'core-js/stable';
34-
import 'regenerator-runtime/runtime';
35-
import 'custom-event-polyfill';
36-
import 'whatwg-fetch';
37-
import 'abortcontroller-polyfill';
38-
import 'childnode-remove-polyfill';
3931
${apmImport()}
4032
import { i18n } from '@kbn/i18n';
4133
import { CoreSystem } from '__kibanaCore__'
4234
4335
const injectedMetadata = JSON.parse(document.querySelector('kbn-injected-metadata').getAttribute('data'));
4436
45-
${apmInit('injectedMetadata.apm')}
37+
${apmInit('injectedMetadata.vars.apmConfig')}
4638
4739
i18n.load(injectedMetadata.i18n.translationsUrl)
4840
.catch(e => e)

0 commit comments

Comments
 (0)