Repository navigation
fix(deploy): commit the gitignored Tailwind source entry (ui/src/styles.css) - #42
Merged
Merged
Conversation
…was gitignored The blanket *.css ignore rule assumed all CSS is build output, but Tailwind v4 uses a committed source entry (@import 'tailwindcss' plus the app's theme layer) that hydrate.tsx imports. Local dev always had the file, and CI only ran lint/typecheck, so the gap only surfaced on the first production deploy: 'Module not found: Can't resolve ./styles.css'. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FdKukDnRTrshKqkQ8JXwVj
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
First production deploy (run 29481545478, after #41 merged) failed with
Module not found: Can't resolve './styles.css' in ui/src. Root cause: the blanket*.cssgitignore rule ("Tailwind - handled by build tools") also caughtui/src/styles.css— but that file is Tailwind v4's source entry (@import "tailwindcss"+ the app theme), imported byhydrate.tsx, not build output. It existed in every local checkout and CI only ran lint/typecheck, so nothing noticed until the deploy build.Adds a
!ui/src/styles.cssexception and commits the file.Note for the same deploy run: there was also a Zephyr
ci-token-exchange401 (ZE_CI_TOKEN) before the build error — the freshly configuredZEPHYR_CI_TOKENsecret may need attention on the Zephyr side; this PR only fixes the build failure.🤖 Generated with Claude Code
https://claude.ai/code/session_01FdKukDnRTrshKqkQ8JXwVj