Files
scrap/node_modules/next/dist/build/webpack/plugins/nextjs-require-cache-hot-reloader.d.ts
2024-09-24 03:52:46 +00:00

15 lines
531 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;
serverComponents: boolean;
constructor(opts: {
serverComponents: boolean;
});
apply(compiler: Compiler): void;
}
export {};