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
  98a1b9cd_eee2_bdbc_e939_d7a8a147e80f["LoaderOptions"]
  b43c8628_fc48_68ca_7913_f540a0f4bedd["index.ts"]
  98a1b9cd_eee2_bdbc_e939_d7a8a147e80f -->|defined in| b43c8628_fc48_68ca_7913_f540a0f4bedd
  style 98a1b9cd_eee2_bdbc_e939_d7a8a147e80f 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