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

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
  }>
}

Analyze Your Own Codebase

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

Try Supermodel Free