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
  ed510694_0453_a49f_a00b_617f939564ff["autodetectedSourceFiles()"]
  0a47c29a_9f3d_e269_891f_77e303b68066["migrateContent()"]
  0a47c29a_9f3d_e269_891f_77e303b68066 -->|calls| ed510694_0453_a49f_a00b_617f939564ff
  style ed510694_0453_a49f_a00b_617f939564ff 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
}

Domain

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