| 34 | |
| 35 | // deno-lint-ignore no-explicit-any |
| 36 | export interface BuildCache<State = any> { |
| 37 | root: string; |
| 38 | islandRegistry: ServerIslandRegistry; |
| 39 | clientEntry: string; |
| 40 | /** Pathname for the HMR-only chunk (development only). Undefined in production. */ |
| 41 | hmrClientEntry?: string; |
| 42 | features: { |
| 43 | errorOverlay: boolean; |
| 44 | }; |
| 45 | getFsRoutes(): Command<State>[]; |
| 46 | readFile(pathname: string): Promise<StaticFile | null>; |
| 47 | getEntryAssets(): string[]; |
| 48 | } |
| 49 | |
| 50 | export class ProdBuildCache<State> implements BuildCache<State> { |
| 51 | #snapshot: BuildSnapshot<State>; |
no outgoing calls
no test coverage detected