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 a9e0e6f3_a08d_f8b4_6f36_cdc03c42112e["autodetectedSourceFiles()"] b2ba3368_7330_fe20_4543_9cafa8cfedc0["migrate-js-config.ts"] a9e0e6f3_a08d_f8b4_6f36_cdc03c42112e -->|defined in| b2ba3368_7330_fe20_4543_9cafa8cfedc0 46b27b1d_7596_ed56_0fd7_dad5bfb7f12d["migrateContent()"] 46b27b1d_7596_ed56_0fd7_dad5bfb7f12d -->|calls| a9e0e6f3_a08d_f8b4_6f36_cdc03c42112e style a9e0e6f3_a08d_f8b4_6f36_cdc03c42112e 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
Source
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