DefinitelyTyped/types/rollup-plugin-url/index.d.ts
Jeroen Claassens 985c9cf6b2 Add type definitions for rollup-plugin-url (#37462)
Signed-off-by: Jeroen Claassens <support@favware.tech>
2019-08-08 10:20:44 -07:00

24 lines
629 B
TypeScript

// Type definitions for rollup-plugin-url 2.2
// Project: https://github.com/Swatinem/rollup-plugin-url#readme
// Definitions by: Jeroen Claassens <https://github.com/me>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 3.0
/// <reference types="node" />
import { Plugin } from 'rollup';
interface PluginURLOptions {
limit?: number;
include?: string[];
exclude?: string[];
publicPath?: string;
emitFile?: boolean;
fileName?: string;
sourceDir?: string;
destDist?: string;
}
declare function url(options?: PluginURLOptions): Plugin;
export default url;