Skip to content

Commit

Permalink
fix(NA): remove all cached src deps
Browse files Browse the repository at this point in the history
  • Loading branch information
mistic committed Dec 2, 2024
1 parent 328871a commit 25b9c23
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion packages/kbn-ui-shared-deps-npm/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ module.exports = (_, argv) => {
'@elastic/eui/optimize/es/components/provider/nested',
'@elastic/eui/optimize/es/services',
'@elastic/eui/optimize/es/services/format',
'@elastic/eui/optimize/es/services/theme/warning',
// '@elastic/eui/optimize/es/services/theme/warning',
'@elastic/eui/dist/eui_theme_amsterdam_light.json',
'@elastic/eui/dist/eui_theme_amsterdam_dark.json',
'@elastic/eui/dist/eui_theme_borealis_light.json',
Expand Down
2 changes: 1 addition & 1 deletion packages/kbn-ui-shared-deps-src/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ webpack_cli(
"//packages/shared-ux/error_boundary",
"//packages/kbn-rison",
"//packages/shared-ux/code_editor/impl:code_editor",
"//packages/react/kibana_context/theme",
#"//packages/react/kibana_context/theme",
],
output_dir = True,
args = [
Expand Down
4 changes: 2 additions & 2 deletions packages/kbn-ui-shared-deps-src/src/definitions.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ const externals = {
'__kbnSharedDeps__.ElasticEuiLibComponentsUseIsNestedEuiProvider',
'@elastic/eui/lib/services': '__kbnSharedDeps__.ElasticEuiLibServices',
'@elastic/eui/lib/services/format': '__kbnSharedDeps__.ElasticEuiLibServicesFormat',
'@elastic/eui/lib/services/theme/warning': '__kbnSharedDeps__.ElasticEuiLibServicesThemeWarning',
// '@elastic/eui/lib/services/theme/warning': '__kbnSharedDeps__.ElasticEuiLibServicesThemeWarning',
'@elastic/eui-theme-borealis': '__kbnSharedDeps__.ElasticEuiThemeBorealis',

// transient dep of eui
Expand Down Expand Up @@ -107,7 +107,7 @@ const externals = {
'@kbn/esql-ast': '__kbnSharedDeps__.KbnEsqlAst',
'@kbn/ebt-tools': '__kbnSharedDeps__.KbnEbtTools',
'@elastic/apm-rum-core': '__kbnSharedDeps__.ElasticApmRumCore',
'@kbn/react-kibana-context-theme': '__kbnSharedDeps__.KbnReactKibanaContextTheme',
// '@kbn/react-kibana-context-theme': '__kbnSharedDeps__.KbnReactKibanaContextTheme',
};

module.exports = { distDir, jsFilename, cssDistFilename, externals };
4 changes: 2 additions & 2 deletions packages/kbn-ui-shared-deps-src/src/entry.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export const ElasticEuiThemeBorealis = require('@elastic/eui-theme-borealis');
export const ElasticEuiLibComponentsUseIsNestedEuiProvider = require('@elastic/eui/optimize/es/components/provider/nested');
export const ElasticEuiLibServices = require('@elastic/eui/optimize/es/services');
export const ElasticEuiLibServicesFormat = require('@elastic/eui/optimize/es/services/format');
export const ElasticEuiLibServicesThemeWarning = require('@elastic/eui/optimize/es/services/theme/warning');
// export const ElasticEuiLibServicesThemeWarning = require('@elastic/eui/optimize/es/services/theme/warning');
export const KbnDatemath = require('@kbn/datemath');
export const HelloPangeaDnd = require('@hello-pangea/dnd/dist/dnd');
export const ReduxjsToolkit = require('@reduxjs/toolkit');
Expand Down Expand Up @@ -80,4 +80,4 @@ export const KbnCodeEditor = require('@kbn/code-editor');
export const KbnEsqlAst = require('@kbn/esql-ast');
export const KbnEbtTools = require('@kbn/ebt-tools');
export const ElasticApmRumCore = require('@elastic/apm-rum-core');
export const KbnReactKibanaContextTheme = require('@kbn/react-kibana-context-theme');
// export const KbnReactKibanaContextTheme = require('@kbn/react-kibana-context-theme');

0 comments on commit 25b9c23

Please sign in to comment.