Home / Function/ pluginContainer() — vite Function Reference

pluginContainer() — vite Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  a85be14c_f2f5_f5e8_54fc_94b79f95354a["pluginContainer()"]
  aba3fdee_817a_43e8_0481_2e4ff445f775["ScanEnvironment"]
  a85be14c_f2f5_f5e8_54fc_94b79f95354a -->|defined in| aba3fdee_817a_43e8_0481_2e4ff445f775
  f6cc5896_6a10_2069_d844_d1c6914e9d05["devToScanEnvironment()"]
  f6cc5896_6a10_2069_d844_d1c6914e9d05 -->|calls| a85be14c_f2f5_f5e8_54fc_94b79f95354a
  85e1964a_55f8_22ab_02ed_c666202e1669["pluginContainer()"]
  a85be14c_f2f5_f5e8_54fc_94b79f95354a -->|calls| 85e1964a_55f8_22ab_02ed_c666202e1669
  style a85be14c_f2f5_f5e8_54fc_94b79f95354a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/vite/src/node/optimizer/scan.ts lines 43–49

  get pluginContainer(): EnvironmentPluginContainer {
    if (!this._pluginContainer)
      throw new Error(
        `${this.name} environment.pluginContainer called before initialized`,
      )
    return this._pluginContainer
  }

Subdomains

Frequently Asked Questions

What does pluginContainer() do?
pluginContainer() is a function in the vite codebase, defined in packages/vite/src/node/optimizer/scan.ts.
Where is pluginContainer() defined?
pluginContainer() is defined in packages/vite/src/node/optimizer/scan.ts at line 43.
What does pluginContainer() call?
pluginContainer() calls 1 function(s): pluginContainer.
What calls pluginContainer()?
pluginContainer() is called by 1 function(s): devToScanEnvironment.

Analyze Your Own Codebase

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

Try Supermodel Free