Repository navigation
Conversation
…e build in tailwind The tailwind schematic searched the workspace root before the project root and `.postcssrc.json` before `postcss.config.json`, the opposite of the build system. With a configuration in both locations, the schematic added `@tailwindcss/postcss` to a file the build never reads, so the build succeeded but Tailwind CSS utilities were not generated. Search the project root first and `postcss.config.json` first, matching the build system.
There was a problem hiding this comment.
Code Review
This pull request aligns the Tailwind schematic's PostCSS configuration lookup order with the build system by prioritizing the project root over the workspace root, and 'postcss.config.json' over '.postcssrc.json'. It also adds unit tests to verify these priorities. Feedback is provided to deduplicate and normalize the search paths to prevent redundant file checks when the project root is empty.
MeAkib
added a commit
to MeAkib/angular-cli
that referenced
this pull request
Oct 28, 2026
…d by the build in tailwind- angular#34571 Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
…d by the build in tailwind
MeAkib
force-pushed
the
fix/tailwind-postcss-config-lookup
branch
from
October 28, 2026 16:08
9103621 to
6735776
Compare
alan-agius4
requested changes
Oct 28, 2026
alan-agius4
approved these changes
Oct 28, 2026
alan-agius4
self-requested a review
October 28, 2026 17:42
…d by the build in tailwind Co-authored-by: Alan Agius <alan.agius4@gmail.com>
…d by the build in tailwind Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
alan-agius4
reviewed
Oct 28, 2026
…d by the build in tailwind Co-authored-by: Alan Agius <alan.agius4@gmail.com>
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.
The tailwind schematic searched the workspace root before the project root and
.postcssrc.jsonbeforepostcss.config.json, the opposite of the build system. With a configuration in both locations, the schematic added@tailwindcss/postcssto a file the build never reads, so the build succeeded but Tailwind CSS utilities were not generated.Search the project root first and
postcss.config.jsonfirst, matching the build system.