nx buildable libraries use case - how large must the repo be #7011
Replies: 2 comments 1 reply
-
Hello, this is an interesting issue. I have also a medium size project where I tested
So this is absolutely useless (in this particular example) to use buildable libs as the time to build them is much greater than any possible gain I could get. I also wonder if someone is getting benefits from those buildable libs and how big your project must be to see them. |
Beta Was this translation helpful? Give feedback.
-
We have the same experience and our project is actually quite large (~500k LOC) with multiple large or small libraries. Talking in real numbers, rebuild of the main application with |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
We have a repo with about 12 libraries (main.js bundle is 3.47 MB).
Without running tests, a build with nx serve --with-deps and changing code in one of the libraries (with no dependencies) has the same build time as running ng serve cold (about 60/70 seconds).
How is this possible ? Is the repo too small for the nx use case ?
Beta Was this translation helpful? Give feedback.
All reactions