DefinitelyTyped/types/rollup-plugin-json/index.d.ts
2017-10-23 15:26:58 -07:00

16 lines
477 B
TypeScript

// Type definitions for rollup-plugin-json 2.3
// Project: https://github.com/rollup/rollup-plugin-json#readme
// Definitions by: Andy Mockler <https://github.com/asmockler>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
import { Plugin } from 'rollup';
export interface Options {
include?: string | string[];
exclude?: string | string[];
preferConst?: boolean;
indent?: string;
}
export default function json(options?: Options): Plugin;