loadStylesheet() — tailwindcss Function Reference
Architecture documentation for the loadStylesheet() function in at-import.test.ts from the tailwindcss codebase.
Entity Profile
Relationship Graph
Source Code
packages/tailwindcss/src/at-import.test.ts lines 111–118
let loadStylesheet = async (id: string) => {
if (!id.endsWith('example.css')) throw new Error('Unexpected import: ' + id)
return {
content: exampleCSS,
base: '/root',
path: '',
}
}
Domain
Subdomains
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free