No description
- Fold `External { base }` into `Auto { base, external: bool }`. External
sources were never a distinct kind of source: they are auto sources whose
directory is itself ignored but was explicitly listed (set either directly
for `node_modules`-style directories, or by the gitignore promotion walk).
Every consumer except the walker-layer emission matched
`Auto { base } | External { base }`; those pairings collapse to a single
arm, and the promotion becomes setting a field instead of swapping
variants.
- Delete the unused `SourceEntry` ⇄ `GlobEntry` `From` conversions; the
glob accessors build `GlobEntry` values inline and nothing ever converted
through these impls.
- Document that directory-shaped `@source not` directives are normalized to
a `/**/*` pattern (semantically identical), which `NotRule::covers_dir`
relies on.
- Make the folder check in `From<PublicSourceEntry>` honest: joining the
"/"-pinned pattern onto the base discarded the base entirely (an absolute
path replaces it), so the check accidentally tested a nonsense path like
`/index.html` against the filesystem root. Strip the leading slash and
document that this arm only matters when `optimize()` could not
canonicalize the base.
|
||
|---|---|---|
| .github | ||
| crates | ||
| integrations | ||
| packages | ||
| patches | ||
| playgrounds | ||
| scripts | ||
| .gitignore | ||
| .prettierignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| CHANGELOG.md | ||
| LICENSE | ||
| package.json | ||
| pnpm-lock.yaml | ||
| pnpm-workspace.yaml | ||
| README.md | ||
| rust-toolchain.toml | ||
| turbo.json | ||
| vitest.config.mts | ||
A utility-first CSS framework for rapidly building custom user interfaces.
Documentation
For full documentation, visit tailwindcss.com.
Community
For help, discussion about best practices, or feature ideas:
Discuss Tailwind CSS on GitHub
Contributing
If you're interested in contributing to Tailwind CSS, please read our contributing docs before submitting a pull request.