importRules() — tailwindcss Function Reference
Architecture documentation for the importRules() function in stylesheet.ts from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD e06bfd1f_30c5_914b_b294_ce3961d3d720["importRules()"] b9897393_3e36_7806_d172_b9debcd215f6["Stylesheet"] e06bfd1f_30c5_914b_b294_ce3961d3d720 -->|defined in| b9897393_3e36_7806_d172_b9debcd215f6 style e06bfd1f_30c5_914b_b294_ce3961d3d720 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/@tailwindcss-upgrade/src/stylesheet.ts lines 107–115
get importRules() {
let imports = new Set<postcss.AtRule>()
this.root.walkAtRules('import', (rule) => {
imports.add(rule)
})
return imports
}
Domain
Subdomains
Source
Frequently Asked Questions
What does importRules() do?
importRules() is a function in the tailwindcss codebase, defined in packages/@tailwindcss-upgrade/src/stylesheet.ts.
Where is importRules() defined?
importRules() is defined in packages/@tailwindcss-upgrade/src/stylesheet.ts at line 107.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free