Extended ng-packagr builder supporting assets
See original GitHub issueIs your feature request related to a problem? Please describe. Angular CLI, or more specifically ng-packagr currently does not support bundling assets with libraries.
Corresponding issue in Angular CLI: https://github.com/angular/angular-cli/issues/11071
Describe the solution you’d like
We could extend the official ng-packagr
builder to copy the assets. This should be quite simple.
In addition devs would have to of course configure application assets in angular.json to copy the library assets so they are accessible during the runtime of the application.
Additional context I would love to create a PR with this new builder, since I already have it and I think it makes sense not to create a new package, but rather contribute here.
https://github.com/angular/angular-cli/issues/11071#issuecomment-531467088
Issue Analytics
- State:
- Created 4 years ago
- Reactions:3
- Comments:17 (4 by maintainers)
Top GitHub Comments
I think it’s a great idea. Technically it should be pretty easy. We just need @linnenschmidt consent )))
Please check the link I provided again.