How to debug/fix slow build times in Lerna monorepo? #808
Labels
kind: optimization
Performance, space, size, etc improvement
kind: support
Asking for support with something or a specific use case
scope: upstream
Issue in upstream dependency
topic: monorepo
Related to Lerna monorepos
Current Behavior
I have a lerna mono repo with 2 packages. The first package is a small UI component library with about 20 small components, and the other package builds and generates typed SVG icons so they can be imported as React components.
When running
tsdx build
on both of these packages, the cli process seems to hang up. Sometimes it finishes, sometimes it doesn't. When it finishes the total build time per package is around 4-7 minutes.It hangs up when building modules and this is all I see on my cli:
Is there another configuration I should consider with SVG's, typescript, or lerna? Those are the only 3 unique culprits I could think of that would require additional configuration?
The text was updated successfully, but these errors were encountered: