Home / Function/ incrementIndent() — vite Function Reference

incrementIndent() — vite Function Reference

Architecture documentation for the incrementIndent() function in html.ts from the vite codebase.

Entity Profile

Dependency Diagram

graph TD
  be79b558_1081_1230_d1d0_4753d396fd49["incrementIndent()"]
  f8fe0737_718a_5509_b722_473f207d5906["html.ts"]
  be79b558_1081_1230_d1d0_4753d396fd49 -->|defined in| f8fe0737_718a_5509_b722_473f207d5906
  fb5a3d66_7c54_2dc1_57bd_7bba8ad8fdbf["injectToHead()"]
  fb5a3d66_7c54_2dc1_57bd_7bba8ad8fdbf -->|calls| be79b558_1081_1230_d1d0_4753d396fd49
  24734732_0f40_e935_b5d1_ae08e9d1dca3["injectToBody()"]
  24734732_0f40_e935_b5d1_ae08e9d1dca3 -->|calls| be79b558_1081_1230_d1d0_4753d396fd49
  a15e31f8_dfca_e732_f0ff_80da09431f9a["serializeTag()"]
  a15e31f8_dfca_e732_f0ff_80da09431f9a -->|calls| be79b558_1081_1230_d1d0_4753d396fd49
  style be79b558_1081_1230_d1d0_4753d396fd49 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/vite/src/node/plugins/html.ts lines 1579–1581

function incrementIndent(indent: string = '') {
  return `${indent}${indent[0] === '\t' ? '\t' : '  '}`
}

Domain

Subdomains

Frequently Asked Questions

What does incrementIndent() do?
incrementIndent() is a function in the vite codebase, defined in packages/vite/src/node/plugins/html.ts.
Where is incrementIndent() defined?
incrementIndent() is defined in packages/vite/src/node/plugins/html.ts at line 1579.
What calls incrementIndent()?
incrementIndent() is called by 3 function(s): injectToBody, injectToHead, serializeTag.

Analyze Your Own Codebase

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

Try Supermodel Free