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
  0a4a32d1_31ff_9242_247e_6eb4638f5177["CompileOptions"]
  23bd4e2f_c62c_a942_7014_8486569053ee["index.ts"]
  0a4a32d1_31ff_9242_247e_6eb4638f5177 -->|defined in| 23bd4e2f_c62c_a942_7014_8486569053ee
  style 0a4a32d1_31ff_9242_247e_6eb4638f5177 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