Home / Function/ info() — vite Function Reference

info() — vite Function Reference

Architecture documentation for the info() function in pluginContainer.ts from the vite codebase.

Entity Profile

Dependency Diagram

graph TD
  6e54f0cf_c38f_43ff_3f57_61498112dbbe["info()"]
  c261dae5_9c68_4b7d_8b09_fe13190425fe["PluginContext"]
  6e54f0cf_c38f_43ff_3f57_61498112dbbe -->|defined in| c261dae5_9c68_4b7d_8b09_fe13190425fe
  7e22b0a1_210d_c2ca_9a20_17eec3acb06f["info()"]
  7e22b0a1_210d_c2ca_9a20_17eec3acb06f -->|calls| 6e54f0cf_c38f_43ff_3f57_61498112dbbe
  9282ac90_d29c_cf0b_bdf8_00ac31e9ba20["_formatLog()"]
  6e54f0cf_c38f_43ff_3f57_61498112dbbe -->|calls| 9282ac90_d29c_cf0b_bdf8_00ac31e9ba20
  7e22b0a1_210d_c2ca_9a20_17eec3acb06f["info()"]
  6e54f0cf_c38f_43ff_3f57_61498112dbbe -->|calls| 7e22b0a1_210d_c2ca_9a20_17eec3acb06f
  style 6e54f0cf_c38f_43ff_3f57_61498112dbbe fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/vite/src/node/server/pluginContainer.ts lines 894–897

  override info(log: string | RollupLog | (() => string | RollupLog)): void {
    const err = this._formatLog(typeof log === 'function' ? log() : log)
    super.info(err)
  }

Domain

Subdomains

Called By

Frequently Asked Questions

What does info() do?
info() is a function in the vite codebase, defined in packages/vite/src/node/server/pluginContainer.ts.
Where is info() defined?
info() is defined in packages/vite/src/node/server/pluginContainer.ts at line 894.
What does info() call?
info() calls 2 function(s): _formatLog, info.
What calls info()?
info() is called by 1 function(s): info.

Analyze Your Own Codebase

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

Try Supermodel Free