next
Version:
The React Framework
15 lines (14 loc) • 539 B
TypeScript
import type { webpack } from 'next/dist/compiled/webpack/webpack';
type Compiler = webpack.Compiler;
type WebpackPluginInstance = webpack.WebpackPluginInstance;
export declare function deleteAppClientCache(): any;
export declare function deleteCache(filePath: string): boolean;
export declare class NextJsRequireCacheHotReloader implements WebpackPluginInstance {
prevAssets: any;
hasServerComponents: boolean;
constructor(opts: {
hasServerComponents: boolean;
});
apply(compiler: Compiler): void;
}
export {};