Home / Type/ CompileOptions Type — tailwindcss Architecture

CompileOptions Type — tailwindcss Architecture

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

Entity Profile

Dependency Diagram

graph TD
  c6d97e17_8a1f_bc0c_095c_2e4bc219e3fa["CompileOptions"]
  5af9cd3c_2cf4_9dee_376e_fc39122d865a["index.ts"]
  c6d97e17_8a1f_bc0c_095c_2e4bc219e3fa -->|defined in| 5af9cd3c_2cf4_9dee_376e_fc39122d865a
  style c6d97e17_8a1f_bc0c_095c_2e4bc219e3fa fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/tailwindcss/src/index.ts lines 54–75

type CompileOptions = {
  base?: string
  from?: string
  polyfills?: Polyfills
  loadModule?: (
    id: string,
    base: string,
    resourceHint: 'plugin' | 'config',
  ) => Promise<{
    path: string
    base: string
    module: Plugin | Config
  }>
  loadStylesheet?: (
    id: string,
    base: string,
  ) => Promise<{
    path: string
    base: string
    content: string
  }>
}

Frequently Asked Questions

What is the CompileOptions type?
CompileOptions is a type/interface in the tailwindcss codebase, defined in packages/tailwindcss/src/index.ts.
Where is CompileOptions defined?
CompileOptions is defined in packages/tailwindcss/src/index.ts at line 54.

Analyze Your Own Codebase

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

Try Supermodel Free