I'm creating an Angular component library providing several UI components. This library will be imported with npm in another angular project. For a major part of my components, it worked fine except for one which needed 3rd party library css file…
Is it possible to resolve SASS contained in a workspace library using an approach that is similar to resolving ts files from an application within the same workspace? For context I'll setup a real workspace as follows:
ng new theme-workspace…
We have an Angular library where we have multiple modules. Each module can be imported and used independently in parent projects.
In one of those modules' component we have an import from a dependency called "libphonenumber-js", which we tried to…
I am trying to create an angular library in which one of the service has to make use of web-sdk.js file by importing it.
Everything is working perfectly fine when I create that service inside of the application itself rather than a library, but…
With Angular 13 and the ng-packagr when we publish SASS mixins with a library we need to add the library to exports in package.json and also declare an assets block in ng-package.json.
These are the…
I am converting an existing angular application to library. For the same I did all the necessary changes including all the dependcies.
Now while running ng build for library, I am facing error
Cannot find builder…
In my library, I'm trying to embed an inline cssUrl of one of my copied assets but it's not working - the output of the background-image is still relative and not inline.
notifications.scss
.icon-info {
background-image:…
I am working on an angular library (version 9.1.11) with storybook, where I want to add styles globally. I know that for ng-packagr versions 9.x and above it is possible to copy assets into your library package as part of the build process to add…
I am using following versions
Angular CLI: 11.0.7
Node: 10.24.1
primeng : 11.4.3
I using primeng with in angular library project, But get some warnings when I compile library
WARNING: No name was provided for external module 'primeng/inputtext' in…
We have created our own angular library and published those artifacts in AWS CodeArtifact.
Those 2 artifacts we are importing into another project.I would like to debug those 2 libraries and want to add breakpoint, what's the best solution for this.…
I am creating an angular library which will allow us to reuse a lot of filter components that we currently use (customer search, employee search, etc). In my library, I am importing scss files into my component's scss file (in this case telerik).…
I'm maintaining an Angular library built with the Angular CLI and while I'd like to use the latest version of the Angular tooling I don't want to force consumers of my library to update Angular too often. Is there a way to target an older version of…
I am maintaining an Angular library that makes generous use of the async and await keywords. Debugging the resulting JavaScript code is troublesome when targeting ES5 due to all the polyfill action going on. Even with source maps present, the…
I have built 2 angular component libraries (A and B) each inside their own Angular app. I installed library A in library B. Application B is using both libraries.
The styles of components in library A are not displaying when I render it in…
I have an Angular 6 library which contains couple of modules with its routes. This library also works as a standalone application.
I have used ng-packagr to pack and publish the library. When packing all the dependencies included in package.json…