Files
bunext/dist/functions/bundler/all-pages-esbuild-context-bundler.d.ts
T
tbenandClaude Opus 5.5 4d4a79a6dd Push HMR updates before the SSR rebuild in dev
Client-only edits are sent to the browser right after the hydration build,
without re-running server functions; SSR rebuilds afterwards and props are
re-fetched only when a .server.ts output changed or after fullRebuild. Page
requests wait for an in-flight SSR rebuild. The SSR build no longer runs
Tailwind, the PostCSS processor is reused across rebuilds, and the watcher
debounce drops from 200ms to 50ms.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-05 07:32:33 +01:00

21 lines
706 B
TypeScript

import type { BundlerCTXMap } from "../../types";
type Params = {
post_build_fn?: (params: {
artifacts: BundlerCTXMap[];
changed_pages?: string[];
}) => Promise<void> | void;
build_only?: boolean;
start?: boolean;
/**
* Re-fetch server props for every HMR client after the build, even if
* only client code changed. Only applies when the context is recreated.
*/
refresh_props?: boolean;
};
/**
* True when `local_path` is a hydration entry of the current esbuild context.
*/
export declare function isHydrationEntryPage(local_path: string): boolean;
export default function allPagesESBuildContextBundler(params?: Params): Promise<void>;
export {};