Using a higher version EUI in plugin

i am making a plugin for 7.5.2, but i would like to use a newer feature from EUI v22+, i tried to yarn add it into the plugin's node module, not only did it not work, kibana will exit by heap out of memory when building cache most of the time. how do i force only the plugin to use a seperate EUI?

Unfortunately overriding the EUI version used by Kibana in a specific plugin is not possible -- EUI is one of the dependencies that we have pinned to a single global version for maintenance and consistency purposes.

If you only need one particular component, you could try copying that EUI code into your plugin directly, but of course that may be difficult depending on what component it is and how much it relies on other stuff in the newer versions of EUI.

thats unfortunate, thanks for the help.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.