Files
novarix.uk/node_modules/next/dist/build/webpack/plugins/memory-with-gc-cache-plugin.d.ts
T
Kismet Hasanaj 39a8a128be including-modules
2026-05-03 00:14:08 +02:00

13 lines
517 B
TypeScript

import type { Compiler } from 'next/dist/compiled/webpack/webpack';
export declare class MemoryWithGcCachePlugin {
/**
* Maximum number of compilations to keep the cache entry around for when it's not used.
* We keep the modules for a few more compilations so that if you comment out a package and bring it back it doesn't need a full compile again.
*/
private maxGenerations;
constructor({ maxGenerations }: {
maxGenerations: number;
});
apply(compiler: Compiler): void;
}