diff --git a/packages/kbn-optimizer/src/worker/webpack.config.ts b/packages/kbn-optimizer/src/worker/webpack.config.ts index ecb16ff1c8899..2f81d92ec923c 100644 --- a/packages/kbn-optimizer/src/worker/webpack.config.ts +++ b/packages/kbn-optimizer/src/worker/webpack.config.ts @@ -38,7 +38,7 @@ const PUBLIC_PATH_PLACEHOLDER = '__REPLACE_WITH_PUBLIC_PATH__'; const BABEL_PRESET_PATH = require.resolve('@kbn/babel-preset/webpack_preset'); const STATIC_BUNDLE_PLUGINS = [ - { id: 'data', dirname: 'data' }, + // { 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..37f69ce96bcb9 100644 --- a/src/legacy/ui/ui_render/bootstrap/template.js.hbs +++ b/src/legacy/ui/ui_render/bootstrap/template.js.hbs @@ -77,7 +77,7 @@ if (window.__kbnStrictCsp__ && window.__kbnCspNotEnforced__) { '{{this}}', {{/each}} '{{regularBundlePath}}/commons.bundle.js', - '{{regularBundlePath}}/plugin/data/data.plugin.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'