MCPcopy
hub / github.com/tailwindlabs/tailwindcss / warn

Function warn

packages/@tailwindcss-upgrade/src/utils/renderer.ts:120–122  ·  view source on GitHub ↗
(message: string, { prefix = '', print = eprintln } = {})

Source from the content-addressed store, hash-verified

118}
119
120export function warn(message: string, { prefix = '', print = eprintln } = {}) {
121 log(message, { art: pc.yellow('\u2502'), prefix, print })
122}
123
124// Rust inspired functions to print to the console:
125

Callers 2

packages.tsFile · 0.90
migratePostCSSJSConfigFunction · 0.90

Calls 1

logFunction · 0.85

Tested by

no test coverage detected