Skip to content

Commit

Permalink
fix: magic word /.vite/ to workaround dead lock?
Browse files Browse the repository at this point in the history
  • Loading branch information
hi-ogawa committed Feb 8, 2025
1 parent dcbd384 commit 56856f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/react-server/src/features/assets/shared.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export const SERVER_CSS_PROXY = "virtual:server-css-proxy.js";
// avoid .css prefix to exclude the virtual from tailwind v4's waitForRequestsIdle
// use a magic work `/.vite/` to exclude the virtual from tailwind v4's waitForRequestsIdle
// https://github.com/tailwindlabs/tailwindcss/blob/d684733d804a0b8951d13c94fe27350271e076b6/packages/%40tailwindcss-vite/src/index.ts#L313-L322
export const DEV_SSR_CSS = "virtual:dev-ssr-css";
export const DEV_SSR_CSS = "virtual:dev-ssr-css/.vite/.css";

0 comments on commit 56856f0

Please sign in to comment.