Create & Publish Angular Libs like a PRO
summary
Builds a reusable tabs library, compiles TypeScript with ngc, bundles with Rollup into ESM/UMD and minified output, and publishes the dist folder to npm. Uses ng packager to automate inlining and packaging, a NX workspace for local dev and live-reload linked testing, and follows the Angular package format so tools can tree-shake and optimize. Demos run, unit tests pass (5 tests), and automated semver plus CI publishing is recommended.
AI-written summary · about
chapters (13)
- 0:00Intro
- 0:38Healthy.
- 1:27Quality?
- 2:14Statically analyzable Tree shakeable Dead code elimination
- 2:52In Practice
- 4:54support tools bundle size build time
- 10:20Development Workflow
- 17:24Looking AHEAD
- 17:55Scale-tested inside Google, parallelization, remote execution
- 19:19Demo Time
- 22:36What about Publishing?
- 23:00AUTOMATE (VERSIONING & DEPLOYMENT)
- 25:42AOT & TypeScript friendly • Optimize for different tooling Angular Package Format (ESM2015, ESMS, FESM), • Use Semantic Versioning • Write Tests & Automate!








