UseCacheDirectivePlugin
UseCacheDirectivePlugin
Compiler plugin for the "use cache" directive. This plugin transforms the "use cache" directive into a runtime cache operation. It is designed to work with the CommandKit framework.
Signature
class UseCacheDirectivePlugin extends CommonDirectiveTransformer {
public readonly name = 'UseCacheDirectivePlugin';
constructor(options?: Partial<CommonDirectiveTransformerOptions>)
activate(ctx: CompilerPluginRuntime) => Promise<void>;
}
- Extends:
CommonDirectiveTransformer
name
property
constructor
method
(options?: Partial<CommonDirectiveTransformerOptions>) => UseCacheDirectivePlugin
activate
method
(ctx: CompilerPluginRuntime) => Promise<void>