Compile and package Angular libraries in Angular Package Format
open sourceMITfree
ng-packagr builds Angular libraries from TypeScript sources into distribution-ready npm packages in the Angular Package Format: FESM2022 bundles with type definitions that Angular CLI, webpack and other ESM bundlers can consume. It inlines templates and stylesheets, runs SCSS with custom include paths, adds vendor prefixes, embeds assets, and builds scoped or unscoped packages, one per package.json in a monorepo.
Problems it solves
- publish an Angular component library to npm
- build an Angular library in Angular Package Format
- package several Angular libraries in a monorepo
Features
- Angular Package Format output with FESM2022 bundles
- type definitions (.d.ts)
- inlined templates and stylesheets
- SCSS, vendor prefixes and embedded assets
- scoped and unscoped packages
Alternatives
The same job
These do what ng-packagr does.
- TSDX Zero-config CLI for developing, testing and publishing TypeScript packages
