vanilla-extract-css / vanilla-extract

Zero-runtime Stylesheets-in-TypeScript

Home Page:https://vanilla-extract.style

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

vite-plugin v4.0.2 does not work with Remix

MattyBalaam opened this issue · comments

Describe the bug

Trying to use 4.0.2 with remix throws an error "The Remix Vite plugin requires the use of a Vite config file"

I have seen the issue with yarn 1, yarn 4 (where I first encountered as part of a monorepo) and npm

Screenshot 2024-02-04 at 10 46 10

I have a reproduction - just install and run the dev script

It works if you revert back to 4.0.0

Reproduction

https://github.com/MattyBalaam/remix-vanilla-4.0.2-issue

System Info

System:
    OS: macOS 14.3
    CPU: (11) arm64 Apple M3 Pro
    Memory: 86.91 MB / 18.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 18.18.2 - /opt/homebrew/opt/node@18/bin/node
    Yarn: 1.22.19 - /opt/homebrew/bin/yarn
    npm: 9.8.1 - /opt/homebrew/opt/node@18/bin/npm
    pnpm: 8.15.1 - /opt/homebrew/bin/pnpm
  Browsers:
    Chrome: 121.0.6167.139
    Safari: 17.3
  npmPackages:
    @vanilla-extract/css: 1.14.1 => 1.14.1 
    @vanilla-extract/vite-plugin: 4.0.2 => 4.0.2

Used Package Manager

npm

Logs

No response

Validations

This was fixed in #1308, which should be released soon.

This should be fixed in v4.0.3

It’s working here for me. Many thanks for super fast fix.