I am currently working on an Angular Project that is being used for two different web apps with separate backends. The frontend remains the same for both projects. However, after adding the second project to the angular.json file, I started receiving some warnings:
Warning: 10 rules skipped due to selector errors:
:host-context([dir=rtl]) .ion-float-start -> unmatched pseudo-class :host-context
:host-context([dir=rtl]) .ion-float-end -> unmatched pseudo-class :host-context
:host-context([dir=rtl]) .ion-float-sm-start -> unmatched pseudo-class :host-context
:host-context([dir=rtl]) .ion-float-sm-end -> unmatched pseudo-class :host-context
:host-context([dir=rtl]) .ion-float-md-start -> unmatched pseudo-class :host-context
:host-context([dir=rtl]) .ion-float-md-end -> unmatched pseudo-class :host-context
:host-context([dir=rtl]) .ion-float-lg-start -> unmatched pseudo-class :host-context
:host-context([dir=rtl]) .ion-float-lg-end -> unmatched pseudo-class :host-context
:host-context([dir=rtl]) .ion-float-xl-start -> unmatched pseudo-class :host-context
:host-context([dir=rtl]) .ion-float-xl-end -> unmatched pseudo-class :host-context
The second project only differs in terms of some scss files and the environment.ts file. I am unsure about the meaning and origin of these warnings. I did a search online but was unable to find any solutions. Does anyone have any insights on how to resolve this issue?
All software versions including Angular, Ionic, and Node are up to date.
Update: It appears that Ionic may be the cause of these warnings. https://github.com/ionic-team/ionic-framework/issues/23298#issuecomment-840598080 I believe this warning can be safely ignored.