Home / Function/ createPluginContainer() — vite Function Reference

createPluginContainer() — vite Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  e9547a0c_251d_0db5_89c9_d9ab0e7d0fbd["createPluginContainer()"]
  3b8df068_35d0_2c94_3ad1_e93c93d1d613["pluginContainer.ts"]
  e9547a0c_251d_0db5_89c9_d9ab0e7d0fbd -->|defined in| 3b8df068_35d0_2c94_3ad1_e93c93d1d613
  24ecf2a1_3c09_d451_76f3_9485b4e993f8["_createServer()"]
  24ecf2a1_3c09_d451_76f3_9485b4e993f8 -->|calls| e9547a0c_251d_0db5_89c9_d9ab0e7d0fbd
  style e9547a0c_251d_0db5_89c9_d9ab0e7d0fbd fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/vite/src/node/server/pluginContainer.ts lines 1320–1324

export function createPluginContainer(
  environments: Record<string, Environment>,
): PluginContainer {
  return new PluginContainer(environments)
}

Domain

Subdomains

Called By

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free