@visulima/packem
Version:
A fast and modern bundler for Node.js and TypeScript.
12 lines (11 loc) • 358 B
text/typescript
import type { Plugin } from "rollup";
import type FileCache from "../../utils/file-cache.d.mts";
/**
* Wrap a Rollup plugin to add caching to various hooks.
* @param plugin
* @param cache
* @param subDirectory
* @returns
*/
declare const cachingPlugin: (plugin: Plugin, cache: FileCache, subDirectory?: string) => Plugin;
export default cachingPlugin;