mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
avoid additional chunk load during dashboard load time (#143345)
This commit is contained in:
parent
ce455e99b2
commit
2cf6b001eb
3 changed files with 4 additions and 2 deletions
|
@ -43,3 +43,5 @@ export * from './embeddable';
|
|||
export * from './app_plugin/mounter';
|
||||
export * from './lens_attribute_service';
|
||||
export * from './app_plugin/save_modal_container';
|
||||
|
||||
export * from './trigger_actions/open_in_discover_helpers';
|
||||
|
|
|
@ -17,7 +17,7 @@ interface Context {
|
|||
embeddable: IEmbeddable;
|
||||
}
|
||||
|
||||
export const getDiscoverHelpersAsync = async () => await import('./open_in_discover_helpers');
|
||||
export const getDiscoverHelpersAsync = async () => await import('../async_services');
|
||||
|
||||
export const createOpenInDiscoverAction = (
|
||||
discover: Pick<DiscoverStart, 'locator'>,
|
||||
|
|
|
@ -30,7 +30,7 @@ interface EmbeddableQueryInput extends EmbeddableInput {
|
|||
timeRange?: TimeRange;
|
||||
}
|
||||
|
||||
export const getDiscoverHelpersAsync = async () => await import('./open_in_discover_helpers');
|
||||
export const getDiscoverHelpersAsync = async () => await import('../async_services');
|
||||
|
||||
/** @internal */
|
||||
export type EmbeddableWithQueryInput = IEmbeddable<EmbeddableQueryInput>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue