I'm using the Angular CLI to build/package my component library, and I wanted to include the README.md
from the root of the project instead of the file from the projects folder.
So I wanted to see if the builder had any configuration options, but there aren't any published on the wiki.
This is what I found: https://github.com/angular/angular-cli/blob/master/packages/angular_devkit/build_ng_packagr/README.md
I want to add options to my angular.json
for building the library.
"build": {
"builder": "@angular-devkit/build-ng-packagr:build",
"options": {
"tsConfig": "library/tsconfig.lib.json",
"project": "library/ng-package.json",
// add options here!
}
},
There is no wiki on documentation on the packagr repo.
https://github.com/ng-packagr/ng-packagr
My other option was to look at the JSON schema for this builder, but I do not know how to read it.
Does the ngPackagr have configurable options for the builder?