-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Warning when using :host-context that is subselects_1.subselects[name] is not a function #104
Comments
I have the same issue @angular-devkit/build-angular@13.3.6 / critters@0.0.16 / css-select@4.3.0 effects with multiple working: |
same issue with "@angular-devkit/build-angular": "13.3.7", "critters": "0.0.16", is there a workaround how to fix it? |
Shouldn't be a workaround needed, since this is only a warning. It just means the generated critical CSS will not include the affected selector. |
But is there any way to fix this warning ? I can recall, there was a similar issue #90 which was fixed. |
This is very likely to have the same root cause as #103, and IMHO should be close as duplicate. |
Solved by #124, which was released as 0.0.17. @starklord07 , could you please close this issue ? |
I have updated my angular project to v13 and after getting this warning with
:host-context
selector that issubselects_1.subselects[name] is not a function
.I am using
critters@0.0.14
as part of@angular-devkit/build-angular@13.1.2
. I guess the issue is related to #90.I am getting the following warning.
Generating index html...5 rules skipped due to selector errors: :host-context(.theme-themelight) .button.btn-primary -> subselects_1.subselects[name] is not a function ...
The text was updated successfully, but these errors were encountered: