Deep Dive into Angular Builders
summary
Shows how to write three concrete Angular builders: a small command builder that spawns child_process to run arbitrary CLI commands (used to ls, cowsay, pass args and return exit codes), an extend webpack pattern that merges a user webpack file and injects plugins into the browser build via the angular devkit, and an extend dev server that spins up a websocket log server to stream console output from remote devices. Uses angular devkit architect, NX demo repo, and a working 118‑line example that actually runs.
AI-written summary · about
chapters (10)
- 0:00Introduction to Angular Builders
- 1:23What are Angular Builders
- 3:31How Builders operate
- 5:39Why create custom builders
- 7:26Setting up a builder project
- 9:56Creating a command builder
- 14:13Customizing Webpack with builders
- 22:59Extending the dev server builder
- 32:35Key takeaways and resources
- 38:31Q&A session








