Home / Function/ emptyCssComments() — vite Function Reference

emptyCssComments() — vite Function Reference

Architecture documentation for the emptyCssComments() function in utils.ts from the vite codebase.

Entity Profile

Dependency Diagram

graph TD
  6f2cdcea_dddc_c304_5ef4_7fd00bf082a6["emptyCssComments()"]
  031bc221_67a8_c579_f2bf_bb30a08beeb2["utils.ts"]
  6f2cdcea_dddc_c304_5ef4_7fd00bf082a6 -->|defined in| 031bc221_67a8_c579_f2bf_bb30a08beeb2
  e39deb1c_7e8d_a625_cb86_17f9cb0fd0dd["hoistAtRules()"]
  e39deb1c_7e8d_a625_cb86_17f9cb0fd0dd -->|calls| 6f2cdcea_dddc_c304_5ef4_7fd00bf082a6
  style 6f2cdcea_dddc_c304_5ef4_7fd00bf082a6 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/vite/src/node/utils.ts lines 1128–1130

export function emptyCssComments(raw: string): string {
  return raw.replace(multilineCommentsRE, blankReplacer)
}

Domain

Subdomains

Called By

Frequently Asked Questions

What does emptyCssComments() do?
emptyCssComments() is a function in the vite codebase, defined in packages/vite/src/node/utils.ts.
Where is emptyCssComments() defined?
emptyCssComments() is defined in packages/vite/src/node/utils.ts at line 1128.
What calls emptyCssComments()?
emptyCssComments() is called by 1 function(s): hoistAtRules.

Analyze Your Own Codebase

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

Try Supermodel Free