You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched for existing issues that already report this problem, without success.
Ionic Framework Version
v6.x
Current Behavior
Hello,
I get the following warnings while building my application for prod environment.
I suppose these warnings are from css-select library.
> ng run app:build:production
✔ Browser application bundle generation complete.
✔ Copying assets complete.
⠋ Generating index html...14 rules skipped due to selector errors:
:host-context([dir=rtl]) .ion-float-start -> subselects_1.subselects[name] is not a function
:host-context([dir=rtl]) .ion-float-end -> subselects_1.subselects[name] is not a function
:host-context([dir=rtl]) .ion-float-sm-start -> subselects_1.subselects[name] is not a function
:host-context([dir=rtl]) .ion-float-sm-end -> subselects_1.subselects[name] is not a function
:host-context([dir=rtl]) .ion-float-md-start -> subselects_1.subselects[name] is not a function
:host-context([dir=rtl]) .ion-float-md-end -> subselects_1.subselects[name] is not a function
:host-context([dir=rtl]) .ion-float-lg-start -> subselects_1.subselects[name] is not a function
:host-context([dir=rtl]) .ion-float-lg-end -> subselects_1.subselects[name] is not a function
:host-context([dir=rtl]) .ion-float-xl-start -> subselects_1.subselects[name] is not a function
:host-context([dir=rtl]) .ion-float-xl-end -> subselects_1.subselects[name] is not a function
:host(.swiper-horizontal.swiper-rtl) .swiper-pagination-bullets-dynamic .swiper-pagination-bullet -> subselects_1.subselects[name] is not a function
...
Such messages don't appear when building/serving app for development.
These are my dep versions:
Thanks for the report. You can safely ignore this. Angular is trying to analyze the CSS needed for your first route and inline it to index.html. In this case, it came across some CSS it cannot understand, so it is going to skip it. This should not impact the functionality of your application.
Angular should be able to understand this code, but it does not due to GoogleChromeLabs/critters#104. This is a package that Angular uses when compiling your application.
Thanks for the issue! This issue is being closed due to the lack of a reply. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.
Prerequisites
Ionic Framework Version
v6.x
Current Behavior
Hello,
I get the following warnings while building my application for prod environment.
I suppose these warnings are from css-select library.
Such messages don't appear when building/serving app for development.
These are my dep versions:
Note: Also swiper generates such a warning message.
Expected Behavior
No CSS rules should be skipped due to internal errors when bundling the app.
Steps to Reproduce
ionic build --prod
command from the workspace root directoryCode Reproduction URL
No response
Ionic Info
Additional Information
No response
The text was updated successfully, but these errors were encountered: