What this plugin needs from the hook context Vite calls it with.
| 260 | |
| 261 | /** What this plugin needs from the hook context Vite calls it with. */ |
| 262 | interface RollupEmitContext { |
| 263 | readonly emitFile: (file: { |
| 264 | readonly type: "asset"; |
| 265 | readonly fileName: string; |
| 266 | readonly source: string; |
| 267 | }) => void; |
| 268 | /** Vite's per-hook environment. `consumer` is "client" for the browser build |
| 269 | * and "server" for an SSR/worker one. */ |
| 270 | readonly environment?: { readonly config?: { readonly consumer?: string } }; |
| 271 | } |
| 272 | |
| 273 | /** |
| 274 | * Serve the built shell document to the app at a stable URL. |
nothing calls this directly
no outgoing calls
no test coverage detected