I have a problem when I was execute npm run build. In the terminal an error appears:
No provider for InjectionToken ng.v5.defaultTsConfig! (InjectionToken ng.v5.packageTransform -> InjectionToken ng.v5.initTsConfigTransform -> InjectionToken ng.v5.defaultTsConfig)
Additional information, I'm using the library:
How to fix it? I got a similar question, but still no answer : https://github.com/ng-packagr/ng-packagr/issues/2261
add defaultConfiguration
"development": {
"tsConfig": "projects/my-library/tsconfig.lib.json"
}
},
"defaultConfiguration": "production"
}
},
"test": {
"builder": "@angular-devkit/build-angular:karma",