diff --git a/packages/kbn-optimizer/src/worker/webpack.config.ts b/packages/kbn-optimizer/src/worker/webpack.config.ts index ecb16ff1c8899..0ec6483a08283 100644 --- a/packages/kbn-optimizer/src/worker/webpack.config.ts +++ b/packages/kbn-optimizer/src/worker/webpack.config.ts @@ -40,7 +40,6 @@ const BABEL_PRESET_PATH = require.resolve('@kbn/babel-preset/webpack_preset'); const STATIC_BUNDLE_PLUGINS = [ { id: 'data', dirname: 'data' }, { id: 'kibanaReact', dirname: 'kibana_react' }, - { id: 'kibanaUtils', dirname: 'kibana_utils' }, { id: 'esUiShared', dirname: 'es_ui_shared' }, ]; diff --git a/src/legacy/ui/ui_render/bootstrap/template.js.hbs b/src/legacy/ui/ui_render/bootstrap/template.js.hbs index ba38851921a98..f0be821b52754 100644 --- a/src/legacy/ui/ui_render/bootstrap/template.js.hbs +++ b/src/legacy/ui/ui_render/bootstrap/template.js.hbs @@ -78,7 +78,6 @@ if (window.__kbnStrictCsp__ && window.__kbnCspNotEnforced__) { {{/each}} '{{regularBundlePath}}/commons.bundle.js', '{{regularBundlePath}}/plugin/data/data.plugin.js', - '{{regularBundlePath}}/plugin/kibanaUtils/kibanaUtils.plugin.js', '{{regularBundlePath}}/plugin/esUiShared/esUiShared.plugin.js', '{{regularBundlePath}}/plugin/kibanaReact/kibanaReact.plugin.js' ], function () { diff --git a/src/plugins/kibana_utils/kibana.json b/src/plugins/kibana_utils/kibana.json deleted file mode 100644 index 6fa39d82d1021..0000000000000 --- a/src/plugins/kibana_utils/kibana.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "id": "kibanaUtils", - "version": "kibana", - "ui": true -} diff --git a/src/plugins/kibana_utils/public/index.ts b/src/plugins/kibana_utils/public/index.ts index 2f139050e994a..13f8fe75d17b6 100644 --- a/src/plugins/kibana_utils/public/index.ts +++ b/src/plugins/kibana_utils/public/index.ts @@ -76,11 +76,3 @@ export { } from './state_sync'; export { removeQueryParam, redirectWhenMissing, ensureDefaultIndexPattern } from './history'; export { applyDiff } from './state_management/utils/diff_object'; - -/** dummy plugin, we just want kibanaUtils to have its own bundle */ -export function plugin() { - return new (class KibanaUtilsPlugin { - setup() {} - start() {} - })(); -}