Builds errors bugfix

This commit is contained in:
2026-10-16 16:54:55 +01:00
parent af12852fb9
commit 8a981c854a
8 changed files with 50 additions and 6 deletions
+10 -1
View File
@@ -1,6 +1,15 @@
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(): Promise<void>;
export default function disposeBundlerContexts(params?: Params): Promise<void>;
export {};