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
  27aa9538_b0bd_da2b_0b97_fadc09b51c58["autodetectedSourceFiles()"]
  d7c75f44_f7ab_dadd_4dd7_67ec16ab58d7["migrateContent()"]
  d7c75f44_f7ab_dadd_4dd7_67ec16ab58d7 -->|calls| 27aa9538_b0bd_da2b_0b97_fadc09b51c58
  style 27aa9538_b0bd_da2b_0b97_fadc09b51c58 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.
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