UNPKG

@joker.front/cli

Version:

The Next-Generation Front-End Toolchain: Swift, Efficient, and Adaptive.

9 lines (8 loc) 567 B
import { SFCBlock, SFCDescriptor } from "@joker.front/sfc"; import { ResolvedConfig } from "../../config"; import { HMRContext } from "../../server/hmr"; import { ModuleNode } from "../../server/moduleMap"; import { Server } from "../../server"; export declare function hotUpdate(config: ResolvedConfig, ctx: HMRContext, server: Server): Promise<ModuleNode[] | void>; export declare function checkBlockEqual(a: SFCBlock | undefined, b: SFCBlock | undefined): boolean; export declare function checkOnlyTemplateBlockChange(a: SFCDescriptor, b: SFCDescriptor): boolean;