elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.76k stars 8.16k forks source link

[ML] Move statically exported code from plugins to packages #159917

Open walterra opened 1 year ago

walterra commented 1 year ago

Follow up to #156643.

Meta issue for the effort to move code that we export statically from plugins to use packages. In some cases this can reduce the size of the ml plugin's load bundle size. In other cases we want to get rid of bundle requirements where the location of the code is semantically not related, for example, the transform plugin should not require the ml bundle.


This section lists the files that have exports we want to remove:


This section lists files with the imports in consuming plugins we want to remove. Depending on the use case, this means moving the original code to packages or in edge cases we also might want to expose functionality via the source plugin's start contract.

elasticmachine commented 1 year ago

Pinging @elastic/ml-ui (:ml)