Home / Function/ handleValueWithSpaces() — astro Function Reference

handleValueWithSpaces() — astro Function Reference

Architecture documentation for the handleValueWithSpaces() function in minifiable-css-renderer.ts from the astro codebase.

Entity Profile

Dependency Diagram

graph TD
  07f80b71_5226_aac3_479e_2afb963f3697["handleValueWithSpaces()"]
  4df2df7e_7b50_0a76_f17c_a22a7c396706["minifiable-css-renderer.ts"]
  07f80b71_5226_aac3_479e_2afb963f3697 -->|defined in| 4df2df7e_7b50_0a76_f17c_a22a7c396706
  4009a574_3a30_0f00_432f_c45bb5e47f22["renderCssVariable()"]
  4009a574_3a30_0f00_432f_c45bb5e47f22 -->|calls| 07f80b71_5226_aac3_479e_2afb963f3697
  be8c2179_c654_bb13_a969_c3d72a5977a7["withFamily()"]
  be8c2179_c654_bb13_a969_c3d72a5977a7 -->|calls| 07f80b71_5226_aac3_479e_2afb963f3697
  style 07f80b71_5226_aac3_479e_2afb963f3697 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/astro/src/assets/fonts/infra/minifiable-css-renderer.ts lines 37–42

export function handleValueWithSpaces(value: string): string {
	if (SPACE_RE.test(value)) {
		return JSON.stringify(value);
	}
	return value;
}

Domain

Subdomains

Frequently Asked Questions

What does handleValueWithSpaces() do?
handleValueWithSpaces() is a function in the astro codebase, defined in packages/astro/src/assets/fonts/infra/minifiable-css-renderer.ts.
Where is handleValueWithSpaces() defined?
handleValueWithSpaces() is defined in packages/astro/src/assets/fonts/infra/minifiable-css-renderer.ts at line 37.
What calls handleValueWithSpaces()?
handleValueWithSpaces() is called by 2 function(s): renderCssVariable, withFamily.

Analyze Your Own Codebase

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

Try Supermodel Free