mirror of
https://github.com/elastic/kibana.git
synced 2025-06-27 18:51:07 -04:00
chore(NA): upgrades uuid to v9.0.0 (#149135)
This PR upgrades uuid into its latest version `9.0.0`. The previous default used version `v4` was kept where it was previously used and places using `v1` or `v5` are still using it. In this latest version they removed the deep import feature and as we are not using tree shaking it increased our bundles by a significant size. As such, I've moved this dependency into the `ui-shared-deps-npm` bundle. Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
195c8b052e
commit
e38350f7f9
361 changed files with 1111 additions and 1123 deletions
|
@ -57,6 +57,7 @@ RUNTIME_DEPS = [
|
|||
"@npm//rxjs",
|
||||
"@npm//styled-components",
|
||||
"@npm//tslib",
|
||||
"@npm//uuid",
|
||||
]
|
||||
|
||||
webpack_cli(
|
||||
|
|
|
@ -105,6 +105,7 @@ module.exports = (_, argv) => {
|
|||
'rxjs/operators',
|
||||
'styled-components',
|
||||
'tslib',
|
||||
'uuid',
|
||||
],
|
||||
'kbn-ui-shared-deps-npm.v8.dark': ['@elastic/eui/dist/eui_theme_dark.css'],
|
||||
'kbn-ui-shared-deps-npm.v8.light': ['@elastic/eui/dist/eui_theme_light.css'],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue