postcssPluginWarning() — tailwindcss Function Reference
Architecture documentation for the postcssPluginWarning() function in index.ts from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD e35c9243_b0d7_1663_c5cc_6e64e7c7c925["postcssPluginWarning()"] 5af9cd3c_2cf4_9dee_376e_fc39122d865a["index.ts"] e35c9243_b0d7_1663_c5cc_6e64e7c7c925 -->|defined in| 5af9cd3c_2cf4_9dee_376e_fc39122d865a style e35c9243_b0d7_1663_c5cc_6e64e7c7c925 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/tailwindcss/src/index.ts lines 862–866
export default function postcssPluginWarning() {
throw new Error(
`It looks like you're trying to use \`tailwindcss\` directly as a PostCSS plugin. The PostCSS plugin has moved to a separate package, so to continue using Tailwind CSS with PostCSS you'll need to install \`@tailwindcss/postcss\` and update your PostCSS configuration.`,
)
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does postcssPluginWarning() do?
postcssPluginWarning() is a function in the tailwindcss codebase, defined in packages/tailwindcss/src/index.ts.
Where is postcssPluginWarning() defined?
postcssPluginWarning() is defined in packages/tailwindcss/src/index.ts at line 862.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free