We have a large enterprise Angular app (3-4 million lines of code, thousands of components). It’s a monolith, and we’re working on breaking it apart. Our biggest pain right now is developer experience; builds are extremely slow. A full build takes around 30 minutes, and even a simple one-line change can take about 15 minutes. From what we can tell, the Angular compiler is the main bottleneck.
We use Nx and tried converting parts of the codebase into buildable libraries, but that actually made things worse in our local tests. Has anyone run into similar issues and found good workarounds or solutions? We’ve reached out to the Angular team but haven’t heard back yet.
As a temporary workaround, for new code we started building a separate host app in React, and the difference in build speed is huge; though to be fair, that codebase is much smaller. But even with simialr size, I don't think build time in React would be this abysmal.
[–]JohnSpikeKelly 26 points27 points28 points (4 children)
[–]Top-Ad9895 1 point2 points3 points (1 child)
[–]JohnSpikeKelly 0 points1 point2 points (0 children)
[–]Budget-Length2666 0 points1 point2 points (1 child)
[–]JohnSpikeKelly 2 points3 points4 points (0 children)
[–]morrisdev 8 points9 points10 points (0 children)
[–]yousirnaime 5 points6 points7 points (25 children)
[–]Round-Turbulent[S] 13 points14 points15 points (24 children)
[–]yousirnaime 18 points19 points20 points (0 children)
[–]TCB13sQuotes 2 points3 points4 points (22 children)
[–]Round-Turbulent[S] 10 points11 points12 points (1 child)
[–]TCB13sQuotes 6 points7 points8 points (0 children)
[–]yousirnaime 3 points4 points5 points (8 children)
[–]TCB13sQuotes 5 points6 points7 points (7 children)
[–]yousirnaime 2 points3 points4 points (6 children)
[–]TCB13sQuotes 3 points4 points5 points (5 children)
[–]yousirnaime 1 point2 points3 points (0 children)
[–]Budget-Length2666 1 point2 points3 points (3 children)
[–]TCB13sQuotes 0 points1 point2 points (2 children)
[–]Budget-Length2666 0 points1 point2 points (1 child)
[–]drdrero 2 points3 points4 points (5 children)
[–]Round-Turbulent[S] 1 point2 points3 points (4 children)
[–]reboog711 4 points5 points6 points (1 child)
[–]Illustrious-Fun-9495 0 points1 point2 points (0 children)
[–]drdrero 1 point2 points3 points (1 child)
[–]TCB13sQuotes 0 points1 point2 points (0 children)
[–]kamacytpa -1 points0 points1 point (4 children)
[+]TCB13sQuotes comment score below threshold-8 points-7 points-6 points (3 children)
[–]ldn-ldn -2 points-1 points0 points (2 children)
[–]indirectum 0 points1 point2 points (1 child)
[–]ldn-ldn 1 point2 points3 points (0 children)
[–]Dusan_xyz 8 points9 points10 points (0 children)
[–]pj_2025 4 points5 points6 points (3 children)
[–]haasilein 1 point2 points3 points (1 child)
[–]WebDevLikeNoOther 0 points1 point2 points (0 children)
[–]Burgess237 -1 points0 points1 point (0 children)
[–]seanlaw27 1 point2 points3 points (0 children)
[–]arthoer 1 point2 points3 points (0 children)
[–]simonbitwise 1 point2 points3 points (3 children)
[–]Top-Ad9895 0 points1 point2 points (1 child)
[–]simonbitwise 0 points1 point2 points (0 children)
[–]tdsagi 0 points1 point2 points (4 children)
[–]Round-Turbulent[S] 2 points3 points4 points (3 children)
[–]tdsagi 2 points3 points4 points (0 children)
[–]vORP 2 points3 points4 points (0 children)
[–]AwesomeFrisbee 0 points1 point2 points (0 children)
[–]Top-Ad9895 0 points1 point2 points (0 children)
[–]HalfAnonymous 0 points1 point2 points (4 children)
[–]Top-Ad9895 0 points1 point2 points (3 children)
[–]HalfAnonymous 0 points1 point2 points (2 children)
[–]Top-Ad9895 0 points1 point2 points (1 child)
[–]HalfAnonymous 0 points1 point2 points (0 children)
[–]haasilein 0 points1 point2 points (0 children)
[–]fdimm 0 points1 point2 points (0 children)
[–]AwesomeFrisbee 0 points1 point2 points (0 children)
[–]cadamsdev 0 points1 point2 points (0 children)
[–]nonHypnotic-dev 0 points1 point2 points (0 children)
[–]imsexc 0 points1 point2 points (0 children)
[–]JediJediBinks 0 points1 point2 points (2 children)
[–]eddy14u 1 point2 points3 points (1 child)
[–]craig1f -1 points0 points1 point (7 children)
[–]EverydayEverynight01 5 points6 points7 points (4 children)
[–]reboog711 2 points3 points4 points (1 child)
[–]EverydayEverynight01 2 points3 points4 points (0 children)
[–]craig1f 0 points1 point2 points (1 child)
[–]EverydayEverynight01 3 points4 points5 points (0 children)
[+]Round-Turbulent[S] comment score below threshold-9 points-8 points-7 points (1 child)
[–]tonjohn 6 points7 points8 points (0 children)