Skip to content

HMR broken #1621

@masylum

Description

@masylum

Describe the bug

I think yesterday's release of 5.1.0 broke HMR.
If I use unstable_mode: 'inlineCssInDev' it works, though.

Reproduction

Just update to 5.1.0 and HMR stops working

System Info

System:
    OS: macOS 15.3.1
    CPU: (10) arm64 Apple M2 Pro
    Memory: 77.53 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 23.11.0 - /opt/homebrew/bin/node
    npm: 10.9.2 - /opt/homebrew/bin/npm
    pnpm: 10.2.1 - /opt/homebrew/bin/pnpm
  Browsers:
    Chrome: 137.0.7151.122
    Safari: 18.3
  npmPackages:
    @vanilla-extract/css: ^1.17.4 => 1.17.4
    @vanilla-extract/css-utils: ^0.1.6 => 0.1.6
    @vanilla-extract/recipes: ^0.5.7 => 0.5.7
    @vanilla-extract/vite-plugin: ^5.1.0 => 5.1.0

Used Package Manager

pnpm

Logs

Validations

Metadata

Metadata

Assignees

No one assigned

    Labels

    astroIssue related to AstrobugIssue is caused by a bug in a Vanilla Extract packageviteIssue related to vite

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions