Skip to content

Commit

Permalink
refactor(): add @elastic/apm-rum-core to shared deps (elastic#187424)
Browse files Browse the repository at this point in the history
  • Loading branch information
afharo authored Aug 29, 2024
1 parent 9f70009 commit 55781b7
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/kbn-ui-shared-deps-npm/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ RUNTIME_DEPS = [
"@npm//whatwg-fetch",
"@npm//symbol-observable",
"@npm//@babel/runtime",
"@npm//@elastic/apm-rum-core",
"@npm//@elastic/charts",
"@npm//@elastic/eui",
"@npm//@elastic/numeral",
Expand Down
1 change: 1 addition & 0 deletions packages/kbn-ui-shared-deps-npm/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ module.exports = (_, argv) => {
'@babel/runtime/helpers/wrapNativeSuper',

// modules from npm
'@elastic/apm-rum-core',
'@elastic/charts',
'@elastic/eui',
'@elastic/eui/optimize/es/components/provider/nested',
Expand Down
1 change: 1 addition & 0 deletions packages/kbn-ui-shared-deps-src/src/definitions.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ const externals = {
'@tanstack/react-query-devtools': '__kbnSharedDeps__.ReactQueryDevtools',
'@kbn/code-editor': '__kbnSharedDeps__.KbnCodeEditor',
'@kbn/esql-ast': '__kbnSharedDeps__.KbnEsqlAst',
'@elastic/apm-rum-core': '__kbnSharedDeps__.ElasticApmRumCore',
};

module.exports = { distDir, jsFilename, cssDistFilename, externals };
1 change: 1 addition & 0 deletions packages/kbn-ui-shared-deps-src/src/entry.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,3 +75,4 @@ export const ReactQuery = require('@tanstack/react-query');
export const ReactQueryDevtools = require('@tanstack/react-query-devtools');
export const KbnCodeEditor = require('@kbn/code-editor');
export const KbnEsqlAst = require('@kbn/esql-ast');
export const ElasticApmRumCore = require('@elastic/apm-rum-core');

0 comments on commit 55781b7

Please sign in to comment.