Open
Description
Reproduction
https://github.com/vincent-thomas/remix-vanilla-extract-css-repro
run in dev mode: "bun run dev"
then run in prod mode "bun run build && bun run start"
System Info
System:
OS: Linux 6.6 NixOS 24.11 (Vicuna) 24.11 (Vicuna)
CPU: (16) x64 AMD Ryzen 7 5800X 8-Core Processor
Memory: 23.62 GB / 31.25 GB
Container: Yes
Shell: 5.9 - /run/current-system/sw/bin/zsh
Binaries:
Node: 22.8.0 - /nix/store/xsrv93rg8vi05k9ig6v9mcvcyn01n6n2-nodejs-22.8.0/bin/node
npm: 10.8.2 - /nix/store/xsrv93rg8vi05k9ig6v9mcvcyn01n6n2-nodejs-22.8.0/bin/npm
bun: 1.1.29 - /nix/store/mqzlk40bnhx54by2m4lyyc02syippzad-bun-1.1.29/bin/bun
npmPackages:
@remix-run/dev: ^2.12.1 => 2.12.1
@remix-run/node: ^2.12.1 => 2.12.1
@remix-run/react: ^2.12.1 => 2.12.1
@remix-run/serve: ^2.12.1 => 2.12.1
vite: ^5.1.0 => 5.4.8
Used Package Manager
bun
Expected Behavior
For the vanilla css styles corresponding link tag to be generated into the html in prod mode
Actual Behavior
This is not the case. Vanilla extract generates the css files, but does not inject the link tags in the html files. This has been tested on other vite projects and remix is the only one to fail