MCPcopy
hub / github.com/vitejs/vite / init

Method init

packages/vite/src/node/optimizer/scan.ts:60–71  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

58 _pluginContainer: EnvironmentPluginContainer | undefined
59
60 async init(): Promise<void> {
61 if (this._initiated) {
62 return
63 }
64 this._initiated = true
65 this._pluginContainer = await createEnvironmentPluginContainer(
66 this,
67 this.plugins,
68 undefined,
69 false,
70 )
71 }
72}
73
74// Restrict access to the module graph and the server while scanning

Callers 1

optimizeDepsFunction · 0.95

Calls 1

Tested by

no test coverage detected