Home / Function/ skipUrlReplacer() — tailwindcss Function Reference

skipUrlReplacer() — tailwindcss Function Reference

Architecture documentation for the skipUrlReplacer() function in urls.ts from the tailwindcss codebase.

Entity Profile

Dependency Diagram

graph TD
  c5a5c285_38e2_ad5e_1381_d39102705362["skipUrlReplacer()"]
  54193b84_0504_58d6_30b4_88f0dca676a8["doUrlReplace()"]
  54193b84_0504_58d6_30b4_88f0dca676a8 -->|calls| c5a5c285_38e2_ad5e_1381_d39102705362
  b52525c5_d4ed_0103_ea2e_1ef408d6987d["isExternalUrl()"]
  c5a5c285_38e2_ad5e_1381_d39102705362 -->|calls| b52525c5_d4ed_0103_ea2e_1ef408d6987d
  56fea4cc_7ffb_4671_1b9c_352f4e082f95["isDataUrl()"]
  c5a5c285_38e2_ad5e_1381_d39102705362 -->|calls| 56fea4cc_7ffb_4671_1b9c_352f4e082f95
  style c5a5c285_38e2_ad5e_1381_d39102705362 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/@tailwindcss-node/src/urls.ts lines 153–160

function skipUrlReplacer(rawUrl: string, aliases?: string[]) {
  return (
    isExternalUrl(rawUrl) ||
    isDataUrl(rawUrl) ||
    !rawUrl[0].match(/[\.a-zA-Z0-9_]/) ||
    functionCallRE.test(rawUrl)
  )
}

Subdomains

Called By

Frequently Asked Questions

What does skipUrlReplacer() do?
skipUrlReplacer() is a function in the tailwindcss codebase.
What does skipUrlReplacer() call?
skipUrlReplacer() calls 2 function(s): isDataUrl, isExternalUrl.
What calls skipUrlReplacer()?
skipUrlReplacer() is called by 1 function(s): doUrlReplace.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free