From e3e85b364fc62a19b97a4250854580132e7967c7 Mon Sep 17 00:00:00 2001 From: Tim Neutkens Date: Thu, 29 Jan 2026 15:17:50 +0100 Subject: [PATCH] [tailwindcss-vite] Add Register dependency messages logline (#19611) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The PostCSS implementation has a debug logline for registering dependencies but this is missing for @tailwindcss/vite. ## Summary Adds the "Register dependency messages" instrumentation span to the Vite plugin's dependency registration code, matching the existing implementation in @tailwindcss/postcss. This ensures consistent debug instrumentation across both bundler integrations when DEBUG is enabled. ## Test plan --- packages/@tailwindcss-vite/src/index.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/@tailwindcss-vite/src/index.ts b/packages/@tailwindcss-vite/src/index.ts index 341c662b1..4ad70ba43 100644 --- a/packages/@tailwindcss-vite/src/index.ts +++ b/packages/@tailwindcss-vite/src/index.ts @@ -375,6 +375,7 @@ class Root { } if (this.compiler.features & Features.Utilities) { + DEBUG && I.start('Register dependency messages') // Watch individual files found via custom `@source` paths for (let file of this.scanner.files) { addWatchFile(file) @@ -411,6 +412,7 @@ class Root { } } } + DEBUG && I.end('Register dependency messages') } DEBUG && I.start('Build CSS')