Home / Type/ JSConfigMigration Type — tailwindcss Architecture

JSConfigMigration Type — tailwindcss Architecture

Architecture documentation for the JSConfigMigration type/interface in migrate-js-config.ts from the tailwindcss codebase.

Entity Profile

Source Code

packages/@tailwindcss-upgrade/src/codemods/config/migrate-js-config.ts lines 34–40

export type JSConfigMigration =
  // Could not convert the config file, need to inject it as-is in a @config directive
  null | {
    sources: { base: string; pattern: string }[]
    plugins: { base: string; path: string; options: null | StaticPluginOptions }[]
    css: string
  }

Analyze Your Own Codebase

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

Try Supermodel Free