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 Application B. In both libraries, I use the typical Component syntax when referencing a component.
@Component({
selector: 'app-my',
templateUrl: './my.component.html',
styleUrls: ['./my.component.scss'],
})
export class MyComponent implements OnInit {
...
When I look under the Sources tab in Webkit and browse the files I find no evidence of css or scss. Why is my scss not loading? Is there a tsconfig variable or something that I can use for the styles to be included?
Edit: I set ViewEncapsulation to None for a component and the styles are showing on the page. They are being injected into the styles tag in the page header. How do I get the style files to load.