Skip to content

Commit

Permalink
export entire eui_theme helper module from shared-deps
Browse files Browse the repository at this point in the history
  • Loading branch information
spalger committed May 15, 2020
1 parent 415a23a commit d3a3ba8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/kbn-ui-shared-deps/entry.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ export const ElasticEuiLibServices = require('@elastic/eui/lib/services');
export const ElasticEuiLibServicesFormat = require('@elastic/eui/lib/services/format');
export const ElasticEuiChartsTheme = require('@elastic/eui/dist/eui_charts_theme');
export * from './eui_theme.ts';
import EuiTheme from './eui_theme.ts';
export { EuiTheme };

// massive deps that we should really get rid of or reduce in size substantially
export const ElasticsearchBrowser = require('elasticsearch-browser/elasticsearch.js');
1 change: 1 addition & 0 deletions packages/kbn-ui-shared-deps/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ exports.externals = {
'react-router': '__kbnSharedDeps__.ReactRouter',
'react-router-dom': '__kbnSharedDeps__.ReactRouterDom',
'@kbn/ui-shared-deps/monaco': '__kbnSharedDeps__.Monaco',
'@kbn/ui-shared-deps/eui_theme': '__kbnSharedDeps__.EuiTheme',
// this is how plugins/consumers from npm load monaco
'monaco-editor/esm/vs/editor/editor.api': '__kbnSharedDeps__.MonacoBare',

Expand Down

0 comments on commit d3a3ba8

Please sign in to comment.