From ac3f03a07e42c97eb2ef8ff571b36bbec090e830 Mon Sep 17 00:00:00 2001 From: Robin Malfait Date: Fri, 8 Mar 2024 16:55:25 +0100 Subject: [PATCH] rename `tailwindcss-v4` to `@tailwindcss/postcss` --- packages/@tailwindcss-postcss/src/index.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/@tailwindcss-postcss/src/index.ts b/packages/@tailwindcss-postcss/src/index.ts index 13bca6283..e2d3d8eca 100644 --- a/packages/@tailwindcss-postcss/src/index.ts +++ b/packages/@tailwindcss-postcss/src/index.ts @@ -16,7 +16,7 @@ function tailwindcss(opts: PluginOptions = {}): AcceptedPlugin { let optimize = opts.optimize ?? process.env.NODE_ENV === 'production' return { - postcssPlugin: 'tailwindcss-v4', + postcssPlugin: '@tailwindcss/postcss', plugins: [ // We need to run `postcss-import` first to handle `@import` rules. postcssImport(), @@ -64,7 +64,7 @@ function tailwindcss(opts: PluginOptions = {}): AcceptedPlugin { for (let file of files) { result.messages.push({ type: 'dependency', - plugin: 'tailwindcss-v4', + plugin: '@tailwindcss/postcss', file, parent: result.opts.from, }) @@ -76,7 +76,7 @@ function tailwindcss(opts: PluginOptions = {}): AcceptedPlugin { for (let { base, glob } of globs) { result.messages.push({ type: 'dir-dependency', - plugin: 'tailwindcss-v4', + plugin: '@tailwindcss/postcss', dir: base, glob, parent: result.opts.from,