mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
docs(NA): adds @kbn/ui-shared-deps-npm into ops devdocs (#132761)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
64c66516f2
commit
124256701e
5 changed files with 14 additions and 4 deletions
|
@ -26,6 +26,7 @@ layout: landing
|
|||
{ pageId: "kibDevDocsOpsBabelPreset" },
|
||||
{ pageId: "kibDevDocsOpsTypeSummarizer" },
|
||||
{ pageId: "kibDevDocsOpsBabelPluginSyntheticPackages" },
|
||||
{ pageId: "kibDevDocsOpsUiSharedDepsNpm" },
|
||||
{ pageId: "kibDevDocsOpsUiSharedDepsSrc" },
|
||||
]}
|
||||
/>
|
||||
|
|
|
@ -182,6 +182,7 @@
|
|||
{ "id": "kibDevDocsOpsBabelPreset" },
|
||||
{ "id": "kibDevDocsOpsTypeSummarizer" },
|
||||
{ "id": "kibDevDocsOpsBabelPluginSyntheticPackages" },
|
||||
{ "id": "kibDevDocsOpsUiSharedDepsNpm" },
|
||||
{ "id": "kibDevDocsOpsUiSharedDepsSrc" }
|
||||
]
|
||||
},
|
||||
|
|
|
@ -24,7 +24,6 @@ filegroup(
|
|||
|
||||
NPM_MODULE_EXTRA_FILES = [
|
||||
"package.json",
|
||||
"README.md"
|
||||
]
|
||||
|
||||
RUNTIME_DEPS = [
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
# `@kbn/ui-shared-deps-npm`
|
||||
|
||||
Shared dependencies that must only have a single instance and also come from NPM are installed and re-exported from here. To consume them, import the package and merge the `externals` export into your webpack config so that all references to the supported modules will be remapped to use the global versions.
|
12
packages/kbn-ui-shared-deps-npm/README.mdx
Normal file
12
packages/kbn-ui-shared-deps-npm/README.mdx
Normal file
|
@ -0,0 +1,12 @@
|
|||
---
|
||||
id: kibDevDocsOpsUiSharedDepsNpm
|
||||
slug: /kibana-dev-docs/ops/ui-shared-deps-npm
|
||||
title: "@kbn/ui-shared-deps-npm"
|
||||
description: A package to share single instances of npm external packages across bundles
|
||||
date: 2022-05-24
|
||||
tags: ['kibana', 'dev', 'contributor', 'operations', 'ui', 'shared', 'deps', 'npm']
|
||||
---
|
||||
|
||||
This is a package of shared dependencies that must only have a single instance and are from the NPM external to
|
||||
the Kibana repository. To consume them, import the package and merge the `externals` export into your webpack
|
||||
externals config so that all references to the supported modules will be remapped to use the global versions.
|
Loading…
Add table
Add a link
Reference in a new issue