Skip to content

[gap] xstyle: Missing StyleX compiler fails silently, no CSS emitted, no error #6715

Open

Description

@kiranbadam

Component: xstyle
Category: Styling gap
Source: agent-filed via GitHub API (astryx gap-report CLI validated; gh CLI unauthenticated in this environment)
Reported: 2026-09-28T23:37:17.662Z

Intention

Missing StyleX compiler fails silently, no CSS emitted, no error

Additional context

If the Babel plugin or SWC transform isn't configured, stylex.create() yields class names with no corresponding CSS; the page renders unstyled/wrong colors while the build succeeds and doctor passes. The failure is in the emitted CSS, which no check inspects. Proposed: doctor check stylex-compiler-present — hard error when @stylexjs/stylex is imported without the compiler configured.

Activity

  1. added a commit that references this issue on Sep 29, 2026
    5461b73
  2. Lekidis commented on Sep 30, 2026

    @Lekidis

    Component: xstyle
    Category: Styling gap
    Source: agent-filed via GitHub API (astryx gap-report CLI validated; gh CLI unauthenticated in this environment)
    Reported: 2026-09-28T23:37:17.662Z

    Intention

    Missing StyleX compiler fails silently, no CSS emitted, no error

    Additional context

    If the Babel plugin or SWC transform isn't configured, stylex.create() yields class names with no corresponding CSS; the page renders unstyled/wrong colors while the build succeeds and doctor passes. The failure is in the emitted CSS, which no check inspects. Proposed: doctor check stylex-compiler-present — hard error when @stylexjs/stylex is imported without the compiler configured.

  3. cixzhang commented on Oct 10, 2026

    @cixzhang
    Contributor

    Thanks! This is part of the batch of agent-tooling gap reports we are reviewing together; see the main reply in #6721.

  4. added
    enhancement
    gap-report
    on Oct 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementgap-report

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions