rollup-plugin-dot
Version:
rollup plugin to compile doT files
20 lines (19 loc) • 457 B
TypeScript
import * as doT from 'dot';
declare function dot(options?: dot.Options): {
name: string;
transform(code: string, id: string): void | {
code: string;
map: {
mappings: "";
};
};
};
declare namespace dot {
interface Options {
include?: string | string[];
exclude?: string | string[];
templateSettings?: Partial<doT.TemplateSettings>;
defines?: {};
}
}
export default dot;