Home / Function/ postcssPluginWarning() — tailwindcss Function Reference

postcssPluginWarning() — tailwindcss Function Reference

Architecture documentation for the postcssPluginWarning() function in index.ts from the tailwindcss codebase.

Entity Profile

Dependency Diagram

graph TD
  03a02500_17a1_0a79_5524_53dde75bcb5d["postcssPluginWarning()"]
  23bd4e2f_c62c_a942_7014_8486569053ee["index.ts"]
  03a02500_17a1_0a79_5524_53dde75bcb5d -->|defined in| 23bd4e2f_c62c_a942_7014_8486569053ee
  style 03a02500_17a1_0a79_5524_53dde75bcb5d 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

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