(config)
| 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; |
nothing calls this directly
no outgoing calls
no test coverage detected