MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / configResolved

Function configResolved

packages/hosts/mcp-apps-shell/src/vite.ts:316–324  ·  view source on GitHub ↗
(config)

Source from the content-addressed store, hash-verified

314 name: "executor-mcp-apps-shell-asset",
315 enforce: "pre",
316 configResolved(config) {
317 command = config.command;
318 // Recorded per environment, but ONE plugin instance sees every
319 // environment's `configResolved` before any of their bundles are
320 // generated — so the last write wins and this cannot be trusted at emit
321 // time. `generateBundle` reads Rollup's own output options instead; this
322 // only carries the single-environment case, where the two agree.
323 ssr = Boolean(config.build?.ssr);
324 },
325 resolveId: (id) => {
326 if (id === SHELL_VIRTUAL_ID) return SHELL_RESOLVED_ID;
327 if (id === DEV_HTML_VIRTUAL_ID) return DEV_HTML_RESOLVED_ID;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected