loadSync() — tailwindcss Function Reference
Architecture documentation for the loadSync() function in stylesheet.ts from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD 1e921ab1_f146_89b6_ea98_db87da67f047["loadSync()"] 6a659766_1d3a_b133_2d7b_62f11f4e9450["analyze()"] 6a659766_1d3a_b133_2d7b_62f11f4e9450 -->|calls| 1e921ab1_f146_89b6_ea98_db87da67f047 style 1e921ab1_f146_89b6_ea98_db87da67f047 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/@tailwindcss-upgrade/src/stylesheet.ts lines 78–85
static loadSync(filepath: string) {
filepath = path.resolve(process.cwd(), filepath)
let css = fsSync.readFileSync(filepath, 'utf-8')
let root = postcss.parse(css, { from: filepath })
return new Stylesheet(root, filepath)
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does loadSync() do?
loadSync() is a function in the tailwindcss codebase.
What calls loadSync()?
loadSync() is called by 1 function(s): analyze.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free