Skip to content

Conversation

@KrisBraun
Copy link
Contributor

@KrisBraun KrisBraun commented Mar 27, 2024

Fix Vite hanging in Remix builds by temporarily disabling use of the Vite waitForReuestsIdle (#13291) feature. This will cause multiple Tailwind CSS generations in some requests, especially the initial one. This might be visible as a FOUC, but the builds happen so quickly it may not be noticeable. This only affects dev server mode.

A second fix addresses an issue introduced in #13218 (unreleased). The vite:css-post plugin was being double-applied in serve mode.

@KrisBraun KrisBraun marked this pull request as ready for review March 27, 2024 16:02
@KrisBraun KrisBraun requested a review from thecrypticace March 27, 2024 16:02
@thecrypticace
Copy link
Contributor

Hopefully we'll get a fix in Vite soon and can re-enable this.

@KrisBraun KrisBraun merged commit 89eb1ba into next Mar 27, 2024
@KrisBraun KrisBraun deleted the fix/vite-serve-hang branch March 27, 2024 16:31
KrisBraun added a commit that referenced this pull request Mar 27, 2024
thecrypticace pushed a commit that referenced this pull request Mar 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants