createInternalOptionsCache() — tailwindcss Function Reference
Architecture documentation for the createInternalOptionsCache() function in canonicalize-candidates.ts from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD 740c93a1_f35e_71f7_b027_d1abcf0ed17b["createInternalOptionsCache()"] 207ada18_60f2_10b9_7c9e_99bdb32f4ed7["prepareDesignSystemStorage()"] 207ada18_60f2_10b9_7c9e_99bdb32f4ed7 -->|calls| 740c93a1_f35e_71f7_b027_d1abcf0ed17b style 740c93a1_f35e_71f7_b027_d1abcf0ed17b fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/tailwindcss/src/canonicalize-candidates.ts lines 156–164
function createInternalOptionsCache(
designSystem: DesignSystem,
): DesignSystem['storage'][typeof INTERNAL_OPTIONS_KEY] {
return new DefaultMap((signatureOptions: SignatureOptions) => {
return new DefaultMap((features: Features) => {
return { features, designSystem, signatureOptions } satisfies InternalCanonicalizeOptions
})
})
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does createInternalOptionsCache() do?
createInternalOptionsCache() is a function in the tailwindcss codebase.
What calls createInternalOptionsCache()?
createInternalOptionsCache() is called by 1 function(s): prepareDesignSystemStorage.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free