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

Function options

packages/vite/src/node/optimizer/pluginConverter.ts:116–121  ·  view source on GitHub ↗
(inputOptions)

Source from the content-addressed store, hash-verified

114 return {
115 name: esbuildPlugin.name,
116 async options(inputOptions) {
117 await setup(
118 inputOptions.plugins as RolldownPluginOption[],
119 inputOptions.platform ?? 'node',
120 )
121 },
122 async buildStart(inputOptions) {
123 // options hook is not called for scanner
124 if (!isSetupDone) {

Callers

nothing calls this directly

Calls 1

setupFunction · 0.70

Tested by

no test coverage detected