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