Home / Type/ PluginOptions Type — tailwindcss Architecture

PluginOptions Type — tailwindcss Architecture

Architecture documentation for the PluginOptions type/interface in index.ts from the tailwindcss codebase.

Entity Profile

Dependency Diagram

graph TD
  61926f58_358f_0ea6_e3e0_f9fe7534191a["PluginOptions"]
  2bc39c56_196b_12bc_1a08_0896427ab477["index.ts"]
  61926f58_358f_0ea6_e3e0_f9fe7534191a -->|defined in| 2bc39c56_196b_12bc_1a08_0896427ab477
  style 61926f58_358f_0ea6_e3e0_f9fe7534191a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/@tailwindcss-postcss/src/index.ts lines 50–69

export type PluginOptions = {
  /**
   * The base directory to scan for class candidates.
   *
   * Defaults to the current working directory.
   */
  base?: string

  /**
   * Optimize and minify the output CSS.
   */
  optimize?: boolean | { minify?: boolean }

  /**
   * Enable or disable asset URL rewriting.
   *
   * Defaults to `true`.
   */
  transformAssetUrls?: boolean
}

Frequently Asked Questions

What is the PluginOptions type?
PluginOptions is a type/interface in the tailwindcss codebase, defined in packages/@tailwindcss-postcss/src/index.ts.
Where is PluginOptions defined?
PluginOptions is defined in packages/@tailwindcss-postcss/src/index.ts at line 50.

Analyze Your Own Codebase

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

Try Supermodel Free