mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
refactor(): add @elastic/apm-rum-core
to shared deps (#187424)
This commit is contained in:
parent
9f70009d89
commit
55781b7bab
4 changed files with 4 additions and 0 deletions
|
@ -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",
|
||||
|
|
|
@ -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',
|
||||
|
|
|
@ -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 };
|
||||
|
|
|
@ -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');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue