Files
bunext/dist/functions/bundler/dispose-bundler-contexts.d.ts
T
2026-10-16 16:54:55 +01:00

16 lines
563 B
TypeScript

type Params = {
/**
* Also stop esbuild's service process. Only safe when no other esbuild
* call can be in flight (e.g. before exiting, or right after the startup
* build). The service restarts on the next esbuild call.
*/
stop_service?: boolean;
};
/**
* Disposes the hydration and SSR esbuild contexts, releasing the incremental
* build state esbuild keeps in memory for them. The bundlers re-create the
* contexts on their next run.
*/
export default function disposeBundlerContexts(params?: Params): Promise<void>;
export {};