Skip to content
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

bug: warnings when compiling Ionic css with lightningcss - ionic outputs deprecated host-context pseudo-class #30024

Open
3 tasks done
aeharding opened this issue Nov 19, 2024 · 1 comment
Labels

Comments

@aeharding
Copy link
Contributor

Prerequisites

Ionic Framework Version

v8.x

Current Behavior

When I compile Ionic Framework's css with lightningcss, I see the following error multiple times:

'host-context' is not recognized as a valid pseudo-class. Did you mean '::host-context' (pseudo-element) or is this a typo?

Expected Behavior

No warnings

Steps to Reproduce

  1. Go to https://stackblitz.com/edit/meehep-hzppdu?file=vite.config.js
  2. In console, npm run build
  3. See warnings

Code Reproduction URL

https://stackblitz.com/edit/meehep-hzppdu?file=vite.config.js

Ionic Info

Latest stackblitz

Additional Information

No response

@ionitron-bot ionitron-bot bot added the triage label Nov 19, 2024
@aeharding
Copy link
Contributor Author

Looks like host-context is probably being removed from the spec anyways. So maybe this issue should just be to remove deprecated host-context from Ionic usage.

parcel-bundler/lightningcss#545 (comment)

w3c/csswg-drafts#1914 (comment)

@aeharding aeharding changed the title bug: warnings when compiling Ionic css with lightningcss bug: warnings when compiling Ionic css with lightningcss - ionic outputs deprecated host-context pseudo-class Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant