[kbn/ui-shared-deps] split into two packages (#110558)

* [kbn/ui-shared-deps] split into two packages

* fix asset categorizer

* update snapshots

* reference npm dll from optimizer

Co-authored-by: spalger <spalger@users.noreply.github.com>
This commit is contained in:
Spencer 2021-09-16 12:06:46 -07:00 committed by GitHub
parent ea3bb98004
commit eaf70a0b4e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
92 changed files with 763 additions and 378 deletions

View file

@ -66,9 +66,10 @@ longer necessary for us to include the `optimizer` in the
distributable version of Kibana Every plugin artifact contains all
plugin dependencies required to run the plugin, except some
stateful dependencies shared across plugin bundles via
`@kbn/ui-shared-deps`. This means that plugin artifacts _tend to
be larger_ than they were in the legacy platform. To understand the
current size of your plugin artifact, run `@kbn/optimizer` with:
`@kbn/ui-shared-deps-npm` and `@kbn/ui-shared-deps-src`. This means
that plugin artifacts _tend to be larger_ than they were in the
legacy platform. To understand the current size of your plugin
artifact, run `@kbn/optimizer` with:
```bash
node scripts/build_kibana_platform_plugins.js --dist --profile --focus=my_plugin