Top "Ng-packagr" questions

a tool to transpile your libraries to Angular Package Format

'rootDir' is expected to contain all source files

I have an Angular CLI workspace containing two library projects, foo and bar. When I build the second of the …

angular typescript angular-cli ng-packagr angular-library
ng-packagr gives No name was provided for external module

When using ng-packagr to package up one project @my/common-util, there are no problems. This class contains an abstract class …

angular ng-packagr
Pack/Import a local developed module into a project

I am trying to import a locally developed Angular project/module into an angular application without publishing it into npm …

angular npm angular-cli angular-module ng-packagr
Include assets when building library using ng-packagr

Could anyone give a hint where to start to include images and css files into Angular library using ng-packagr?

angular shared-libraries ng-packagr
Angular 6 building a library with assets

Upon building & packaging an Angular 6 library, I can't seem to be able to instruct the Angular CLI to copy …

angular-cli angular6 ng-packagr
Configuration 'production' could not be found in project 'my-lib'

I am building a library with Angular 6.1.0 ng new lib-demo ng generate library my-lib All the articles advise running the …

angular ng-packagr angular-library
Include assets when building angular library

I am building a library which contains a custom icon font. However, when I build my library using ng build &…

angular angular-cli assets angular-library ng-packagr
Error: Cannot find module '@angular/compiler-cli/src/perform_compile' when running ng-packagr

I have a new install of windows and I'm trying to run ng-packagr for the first time. I'm getting the …

npm angular-cli ng-packagr
NullInjectorError: No provider for StateObservable when using ng-packagr

I have an Angular 5 project that uses ngrx/store. The project consists of an application and a shared library that …

angular typescript ngrx yarnpkg ng-packagr
How do you debug an Angular 6 library

I'm writing an Angular 6 Library and cannot figure out how to step into the typescript. I generated the app using: …

angular typescript angular-cli angular-cli-v6 ng-packagr