DefinitelyTyped/types/rollup-plugin-visualizer/index.d.ts
Max Boguslavsky a77838da88 Added rollup-plugin-visualizer (#38676)
* added rollup-plugin-visualizer

* corrected formatting

* fixed errors found after test run

* fixed error

* fixed error

* fixed errors

* corrected package.json

* corrected package according to review comment; added main author to package
2019-10-01 09:32:17 -07:00

25 lines
749 B
TypeScript

// Type definitions for rollup-plugin-visualizer 2.6
// Project: https://www.npmjs.com/package/rollup-plugin-visualizer
// Definitions by: Nick <https://github.com/fobdy>,
// Max Boguslavskiy <https://github.com/maxbogus>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 3.0
/// <reference types="node" />
import { Plugin } from 'rollup';
declare namespace visualizer {
interface PluginVisualizerOptions {
filename?: string;
title?: string;
sourcemap?: boolean;
open?: boolean;
template?: string;
bundlesRelative?: boolean;
}
}
declare function visualizer(options?: visualizer.PluginVisualizerOptions): Plugin;
export = visualizer;