Home / Function/ autodetectedSourceFiles() — tailwindcss Function Reference

autodetectedSourceFiles() — tailwindcss Function Reference

Architecture documentation for the autodetectedSourceFiles() function in migrate-js-config.ts from the tailwindcss codebase.

Entity Profile

Dependency Diagram

graph TD
  9b03276a_ec42_9755_6ae6_25f04739827f["autodetectedSourceFiles()"]
  ffe9c87e_35ad_f431_9625_80fc875792a7["migrate-js-config.ts"]
  9b03276a_ec42_9755_6ae6_25f04739827f -->|defined in| ffe9c87e_35ad_f431_9625_80fc875792a7
  ba8b79fb_a997_a4e8_be72_609168d2be54["migrateContent()"]
  ba8b79fb_a997_a4e8_be72_609168d2be54 -->|calls| 9b03276a_ec42_9755_6ae6_25f04739827f
  style 9b03276a_ec42_9755_6ae6_25f04739827f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/@tailwindcss-upgrade/src/codemods/config/migrate-js-config.ts lines 496–508

function autodetectedSourceFiles(base: string) {
  let scanner = new Scanner({
    sources: [
      {
        base,
        pattern: '**/*',
        negated: false,
      },
    ],
  })
  scanner.scan()
  return scanner.files
}

Subdomains

Called By

Frequently Asked Questions

What does autodetectedSourceFiles() do?
autodetectedSourceFiles() is a function in the tailwindcss codebase, defined in packages/@tailwindcss-upgrade/src/codemods/config/migrate-js-config.ts.
Where is autodetectedSourceFiles() defined?
autodetectedSourceFiles() is defined in packages/@tailwindcss-upgrade/src/codemods/config/migrate-js-config.ts at line 496.
What calls autodetectedSourceFiles()?
autodetectedSourceFiles() is called by 1 function(s): migrateContent.

Analyze Your Own Codebase

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

Try Supermodel Free