16 lines
563 B
TypeScript
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 {};
|