import UiSharedDepsNpm from '@kbn/ui-shared-deps-npm' ; import UiSharedDepsSrc from '@kbn/ui-shared-deps-src' ; import type { PluginInfo } from './get_plugin_bundle_paths' ; export const getJsDependencyPaths = ( regularBundlePath , bundlePaths ) => { return [ `${ regularBundlePath }/kbn-ui-shared-deps-npm/${ UiSharedDepsNpm . dllFilename }` , `${ regularBundlePath }/kbn-ui-shared-deps-src/${ UiSharedDepsSrc . jsFilename }` , `${ regularBundlePath }/core/core.entry.js` , ... [ ... bundlePaths . values ( ) ] . map ( ( plugin ) => plugin . bundlePath ) , ] ; } ;