Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Fix trailing `)` from interfering with extraction in Clojure keywords ([#18345](https://github.com/tailwindlabs/tailwindcss/pull/18345))
- Detect classes inside Elixir charlist, word list, and string sigils ([#18432](https://github.com/tailwindlabs/tailwindcss/pull/18432))
- Track source locations through `@plugin` and `@config` ([#18345](https://github.com/tailwindlabs/tailwindcss/pull/18345))
- Handle when `process.env.DEBUG` is a boolean in `@tailwindcss/node` ([#18485](https://github.com/tailwindlabs/tailwindcss/pull/18485))

## [4.1.11] - 2025-06-26

Expand Down
4 changes: 4 additions & 0 deletions packages/@tailwindcss-node/src/env.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
export const DEBUG = resolveDebug(process.env.DEBUG)

function resolveDebug(debug: typeof process.env.DEBUG) {
if (typeof debug === 'boolean') {
return debug
}

if (debug === undefined) {
return false
}
Expand Down