processSrcSet() — tailwindcss Function Reference
Architecture documentation for the processSrcSet() function in urls.ts from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD e48503bf_b690_7926_3b08_2fe03b7e2cbd["processSrcSet()"] 95a806ab_8556_4112_9786_fda4ff23eeca["urls.ts"] e48503bf_b690_7926_3b08_2fe03b7e2cbd -->|defined in| 95a806ab_8556_4112_9786_fda4ff23eeca ea271be7_d34b_5dc2_9aad_c5fa1b0713cb["rewriteCssImageSet()"] ea271be7_d34b_5dc2_9aad_c5fa1b0713cb -->|calls| e48503bf_b690_7926_3b08_2fe03b7e2cbd de3ba66b_120d_d38d_7088_9308f3e3db6c["parseSrcset()"] e48503bf_b690_7926_3b08_2fe03b7e2cbd -->|calls| de3ba66b_120d_d38d_7088_9308f3e3db6c style e48503bf_b690_7926_3b08_2fe03b7e2cbd fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/@tailwindcss-node/src/urls.ts lines 162–172
function processSrcSet(
srcs: string,
replacer: (arg: ImageCandidate) => Promise<string>,
): Promise<string> {
return Promise.all(
parseSrcset(srcs).map(async ({ url, descriptor }) => ({
url: await replacer({ url, descriptor }),
descriptor,
})),
).then(joinSrcset)
}
Domain
Subdomains
Defined In
Calls
Called By
Source
Frequently Asked Questions
What does processSrcSet() do?
processSrcSet() is a function in the tailwindcss codebase, defined in packages/@tailwindcss-node/src/urls.ts.
Where is processSrcSet() defined?
processSrcSet() is defined in packages/@tailwindcss-node/src/urls.ts at line 162.
What does processSrcSet() call?
processSrcSet() calls 1 function(s): parseSrcset.
What calls processSrcSet()?
processSrcSet() is called by 1 function(s): rewriteCssImageSet.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free