Home / Function/ warn() — tailwindcss Function Reference

warn() — tailwindcss Function Reference

Architecture documentation for the warn() function in renderer.ts from the tailwindcss codebase.

Entity Profile

Dependency Diagram

graph TD
  aacd1374_0eb0_912c_01bc_798fd3cc8239["warn()"]
  4b19c8da_6fad_12c6_ffff_b88c922f8406["migratePostCSSJSConfig()"]
  4b19c8da_6fad_12c6_ffff_b88c922f8406 -->|calls| aacd1374_0eb0_912c_01bc_798fd3cc8239
  a3487e28_8330_7fe8_04db_1b0a8b35c61f["packageManagerForBase()"]
  a3487e28_8330_7fe8_04db_1b0a8b35c61f -->|calls| aacd1374_0eb0_912c_01bc_798fd3cc8239
  4bc97ee1_c9aa_200f_e3cf_2ae2983cf547["log()"]
  aacd1374_0eb0_912c_01bc_798fd3cc8239 -->|calls| 4bc97ee1_c9aa_200f_e3cf_2ae2983cf547
  style aacd1374_0eb0_912c_01bc_798fd3cc8239 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/@tailwindcss-upgrade/src/utils/renderer.ts lines 120–122

export function warn(message: string, { prefix = '', print = eprintln } = {}) {
  log(message, { art: pc.yellow('\u2502'), prefix, print })
}

Subdomains

Calls

Frequently Asked Questions

What does warn() do?
warn() is a function in the tailwindcss codebase.
What does warn() call?
warn() calls 1 function(s): log.
What calls warn()?
warn() is called by 2 function(s): migratePostCSSJSConfig, packageManagerForBase.

Analyze Your Own Codebase

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

Try Supermodel Free