chore(NA): improve kbn-ui-shared-deps-npm split#114557
chore(NA): improve kbn-ui-shared-deps-npm split#114557mistic merged 11 commits intoelastic:masterfrom
Conversation
| const MOMENT_SRC = require.resolve('moment/min/moment-with-locales.js'); | ||
| const WEBPACK_SRC = require.resolve('webpack'); | ||
|
|
||
| const REPO_ROOT = Path.resolve(__dirname, '..', '..'); |
There was a problem hiding this comment.
I would love if we didn't need to reimplement this anyplace we use it, maybe in the future we could make a dev-path-constants package or something to encapsulate this very unlikely to change state?
There was a problem hiding this comment.
👍 yeah I like the idea! My effort here was only try to decouple @kbn/utils from the @kbn/ui-shared-deps-npm
|
@elasticmachine merge upstream |
|
@elasticmachine merge upstream |
|
Pinging @elastic/kibana-operations (Team:Operations) |
💚 Build SucceededMetrics [docs]Async chunks
Page load bundle
History
To update your PR or re-run it, just comment with: |
|
@spalger do you think we can move on this one? |
* chore(NA): remove elastic-datemath from kbn-ui-shared-deps-npm * chore(NA): remove @kbn deps on kbn ui shared deps npm * chore(NA): missing peer dep to build kbn ui shared deps npm * chore(NA): general improvements for kbn ui shared deps npm * chore(NA): remove min size chunks plugin * chore(NA): remove split chunks * chore(NA): improve dep declaring on kbn-ui-shared-deps-src * chore(NA): remove typo Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
💚 Backport successful
This backport PR will be merged automatically after passing CI. |
* chore(NA): remove elastic-datemath from kbn-ui-shared-deps-npm * chore(NA): remove @kbn deps on kbn ui shared deps npm * chore(NA): missing peer dep to build kbn ui shared deps npm * chore(NA): general improvements for kbn ui shared deps npm * chore(NA): remove min size chunks plugin * chore(NA): remove split chunks * chore(NA): improve dep declaring on kbn-ui-shared-deps-src * chore(NA): remove typo Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Tiago Costa <tiagoffcc@hotmail.com>
While working with packages I noticed that our previous
kbn-ui-shared-depssplit could be improved in a couple of places.It would be really cool if we can find ways we can lower the build times of those splits in the future, specially the
kbn-ui-shared-deps-srcas it will compound with the package build trees of a considerable amount of packages.