Home / Type/ PluginWithConfig Type — tailwindcss Architecture

PluginWithConfig Type — tailwindcss Architecture

Architecture documentation for the PluginWithConfig type/interface in plugin-api.ts from the tailwindcss codebase.

Entity Profile

Dependency Diagram

graph TD
  e1c27ba3_af56_6b10_fb13_480253c6f41e["PluginWithConfig"]
  af1a6ece_0432_a556_fd63_8cb4a91f12ad["plugin-api.ts"]
  e1c27ba3_af56_6b10_fb13_480253c6f41e -->|defined in| af1a6ece_0432_a556_fd63_8cb4a91f12ad
  style e1c27ba3_af56_6b10_fb13_480253c6f41e fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/tailwindcss/src/compat/plugin-api.ts lines 23–30

export type PluginWithConfig = {
  handler: PluginFn
  config?: UserConfig

  /** @internal */
  reference?: boolean
  src?: SourceLocation | undefined
}

Frequently Asked Questions

What is the PluginWithConfig type?
PluginWithConfig is a type/interface in the tailwindcss codebase, defined in packages/tailwindcss/src/compat/plugin-api.ts.
Where is PluginWithConfig defined?
PluginWithConfig is defined in packages/tailwindcss/src/compat/plugin-api.ts at line 23.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free