# Tailwind CSS v4 automatic content detection monorepo source directive @source linked workspace package

Status: search-observed
Product: Tailwind CSS
Last verified: 2026-06-25
Canonical HTML: https://gitdocs.org/fix/tailwind-css-v4-automatic-content-detection-monorepo-source-directive-source-linked-workspace-pa
Machine JSON: https://gitdocs.org/api/fixes/tailwind-css-v4-automatic-content-detection-monorepo-source-directive-source-linked-workspace-pa.json

## Exact Symptom

See the observed Codex queries below.

## Diagnosis

The old package/config name is syntactically valid, but current tool packaging and discovery rules live in external release documentation.

## Fix

```
Verifier checks the current package identity/config format and a real transformed output. Verify a minimal current configuration and actual generated CSS.
```

## Avoid

- Changing local code without checking the current external contract.
- Retrying the same install, build, or API call with no version/source change.
- Applying a broad unsafe bypass when a narrow compatibility fix is available.

## Observed Codex Queries

- Tailwind CSS v4 automatic content detection monorepo source directive @source linked workspace package
- site:tailwindcss.com/docs detecting classes source directive Tailwind CSS v4 @source
- https://tailwindcss.com/docs/detecting-classes-in-source-files

## Sources

- Tailwind CSS v4.0: https://tailwindcss.com/blog/tailwindcss-v4
- Official reference opened by Codex: https://tailwindcss.com/docs/detecting-classes-in-source-files
