Skip to content

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

Open
@aeharding

Description

@aeharding

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions