rollup-plugin-caveman
Version:
Converts Caveman templates to ES6 modules
22 lines (19 loc) • 728 B
TypeScript
import { Plugin } from 'rollup';
import { FilterPattern } from '@rollup/pluginutils';
type RollupCavemanOptions = {
/**
* A picomatch pattern, or array of patterns, of files that should be
* processed by this plugin (if omitted, all files are included by default)
*/
include?: FilterPattern;
/**
* Files that should be excluded, if `include` is otherwise too permissive.
*/
exclude?: FilterPattern;
/**
* A list of paths to search for partials in case they're not located in the same directory as the template.
*/
partialPaths?: string[];
};
declare function caveman({ include, exclude, partialPaths, }?: RollupCavemanOptions): Plugin;
export { caveman as default };