Skip to content

fix(deploy): commit the gitignored Tailwind source entry (ui/src/styles.css) - #42

Merged
jaswinder6991 merged 1 commit into
mainfrom
fix-deploy-styles-css
Jul 16, 2026
Merged

jaswinder6991 merged 1 commit into
mainfrom
fix-deploy-styles-css

Conversation

@jaswinder6991

Copy link
Copy Markdown
Contributor

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 *.css gitignore rule ("Tailwind - handled by build tools") also caught ui/src/styles.css — but that file is Tailwind v4's source entry (@import "tailwindcss" + the app theme), imported by hydrate.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.css exception and commits the file.

Note for the same deploy run: there was also a Zephyr ci-token-exchange 401 (ZE_CI_TOKEN) before the build error — the freshly configured ZEPHYR_CI_TOKEN secret may need attention on the Zephyr side; this PR only fixes the build failure.

🤖 Generated with Claude Code

https://claude.ai/code/session_01FdKukDnRTrshKqkQ8JXwVj

…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
@jaswinder6991
jaswinder6991 merged commit 3a4ada4 into main Jul 16, 2026
1 check passed
@jaswinder6991
jaswinder6991 deleted the fix-deploy-styles-css branch July 16, 2026 08:02
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.

1 participant