Skip to content

Commit

Permalink
share single data plugin bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
spalger committed Apr 27, 2020
1 parent 75fa843 commit 62606d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/kbn-optimizer/src/worker/webpack.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const ISTANBUL_PRESET_PATH = require.resolve('@kbn/babel-preset/istanbul_preset'
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' },
Expand Down
1 change: 1 addition & 0 deletions src/legacy/ui/ui_render/ui_render_mixin.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ export function uiRenderMixin(kbnServer, server, config) {
...dllJsChunks,
`${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`,
Expand Down

0 comments on commit 62606d2

Please sign in to comment.