@visulima/packem
Version:
A fast and modern bundler for Node.js and TypeScript.
12 lines (11 loc) • 351 B
TypeScript
import type { Plugin } from "rollup";
import type FileCache from "../../utils/file-cache.d.ts";
/**
* 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 = cachingPlugin;