patternSourceFiles() — tailwindcss Function Reference
Architecture documentation for the patternSourceFiles() function in migrate-js-config.ts from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD 853a8020_b887_331f_1ceb_fd3e6439e343["patternSourceFiles()"] 0a47c29a_9f3d_e269_891f_77e303b68066["migrateContent()"] 0a47c29a_9f3d_e269_891f_77e303b68066 -->|calls| 853a8020_b887_331f_1ceb_fd3e6439e343 style 853a8020_b887_331f_1ceb_fd3e6439e343 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/@tailwindcss-upgrade/src/codemods/config/migrate-js-config.ts lines 510–514
function patternSourceFiles(source: { base: string; pattern: string; negated: boolean }): string[] {
let scanner = new Scanner({ sources: [source] })
scanner.scan()
return scanner.files
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does patternSourceFiles() do?
patternSourceFiles() is a function in the tailwindcss codebase.
What calls patternSourceFiles()?
patternSourceFiles() 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