3 ms·
Angular doesn't play well with newer build tools - esbuild, vite, etc., making Angular quite isolated from the other frameworks. So a plug for vite is a plug fo
by swsieber 4y ago
Angular doesn't play well with newer build tools - esbuild, vite, etc., making Angular quite isolated from the other frameworks. So a plug for vite is a plug for most frameworks except Angular (and others not on the radar).
But also Angular has egregiously big build times as your project scales up, and that sucks.
- Bellend 4y agoWhat about your developers though? Our company pays for 5 days a week 8 hours a day of talented humans in a medium team. I can throw compute for 1/10000th that. A 56 module Angular 15 codebase `npm start` takes 10 seconds, and compiles after change faster than a browser refresh. The build takes 67 seconds. What scale up are you talking about so that I know in the future what to look out for?
- swsieber 4y agoI think we were at around ~150k lines of typescript I think. We were also stuck on Angular 12 due to browser compatibility issues (cries in IE11). I think we were looking at ~20s for the dev server and ~25 minutes for the the prod builds.
- phist_mcgee 4y ago25 minutes?? Do you know which parts of the build are taking the longest? Transpiling, bundling etc?
- Bellend 4y agoI'm struggling with those numbers personally.