Home / Type/ LoaderOptions Type — tailwindcss Architecture

LoaderOptions Type — tailwindcss Architecture

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

Entity Profile

Dependency Diagram

graph TD
  ed2710d6_ebe1_12de_7327_41f120c4d0fc["LoaderOptions"]
  b294614b_1806_4c31_9786_09a2dbe0d909["index.ts"]
  ed2710d6_ebe1_12de_7327_41f120c4d0fc -->|defined in| b294614b_1806_4c31_9786_09a2dbe0d909
  style ed2710d6_ebe1_12de_7327_41f120c4d0fc fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/@tailwindcss-webpack/src/index.ts lines 19–31

export interface LoaderOptions {
  /**
   * 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 }
}

Frequently Asked Questions

What is the LoaderOptions type?
LoaderOptions is a type/interface in the tailwindcss codebase, defined in packages/@tailwindcss-webpack/src/index.ts.
Where is LoaderOptions defined?
LoaderOptions is defined in packages/@tailwindcss-webpack/src/index.ts at line 19.

Analyze Your Own Codebase

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

Try Supermodel Free