Home / Function/ warn() — tailwindcss Function Reference

warn() — tailwindcss Function Reference

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

Function typescript OxideCore Scanner calls 1 called by 2

Entity Profile

Dependency Diagram

graph TD
  46505461_b954_71dd_b5e0_cd81860be8ee["warn()"]
  02abfdc1_e285_188c_43c7_c63389394a0b["migratePostCSSJSConfig()"]
  02abfdc1_e285_188c_43c7_c63389394a0b -->|calls| 46505461_b954_71dd_b5e0_cd81860be8ee
  84839499_e966_4b05_d63c_458fb79e9ac7["packageManagerForBase()"]
  84839499_e966_4b05_d63c_458fb79e9ac7 -->|calls| 46505461_b954_71dd_b5e0_cd81860be8ee
  c3280d10_269f_8701_bd4c_48a551b9b4ae["log()"]
  46505461_b954_71dd_b5e0_cd81860be8ee -->|calls| c3280d10_269f_8701_bd4c_48a551b9b4ae
  style 46505461_b954_71dd_b5e0_cd81860be8ee 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 })
}

Domain

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