~/talk

Optimal builds in Angular with Vite and esbuild

Talkat ViteConf 2023 · 2023-10-05..10-06· [angular, web-performance]
slides:none on file

Angular CLI now wires a Vite + esbuild pipeline that compiles templates to JS interoperable with signals for fine-grained reactivity and emits defer views extracting chunks with their transitive deps. Replacing parts of the pipeline with esbuild yields ~10% faster builds (and another 10% via build-optimizer changes) and a reported >3× faster production build for an app with ~100,000 lines of code. NG serve uses a Vite plugin for fast cold starts, lazy bundling and incremental on-request chunking.

AI-written summary · about

  1. 0:00Introduction
  2. 0:16Tooling context
  3. 0:38JavaScript optimization
  4. 1:02Reactivity exploration
  5. 3:12Signals and deferred views
  6. 6:14CLI abstraction
  7. 6:56Build pipeline updates
  8. 11:02Performance benchmarks
  9. 11:20Future and conclusion
  10. 14:13Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.