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). The problem I am running into is view encapsulation.
So how can I export a global stylesheet in the library that my applications can consume? I am needing this for testing locally and obviously production.
I've tried ng-packagr "assets", but nothing seems to happen. Do I need to update my angular.json or somehow import the libraries assets scss in my app's styles.scss?
This is my ng-package.json file if it helps.
{
"$schema": "../../node_modules/ng-packagr/ng-package.schema.json",
"dest": "../../dist/filters",
"assets": [
"assets"
],
"lib": {
"entryFile": "src/public-api.ts"
}
}