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
  211c82ba_8886_ef66_26ad_77e3f7d65bdf["PluginOptions"]
  4d87ade3_79e3_f749_8b40_7a0e8f43b9dc["index.ts"]
  211c82ba_8886_ef66_26ad_77e3f7d65bdf -->|defined in| 4d87ade3_79e3_f749_8b40_7a0e8f43b9dc
  style 211c82ba_8886_ef66_26ad_77e3f7d65bdf 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