UNPKG

1.47 kBMarkdownView Raw
1# Installation
2> `npm install --save @types/rollup-plugin-url`
3
4# Summary
5This package contains type definitions for rollup-plugin-url (https://github.com/Swatinem/rollup-plugin-url#readme).
6
7# Details
8Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/rollup-plugin-url.
9## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/rollup-plugin-url/index.d.ts)
10````ts
11// Type definitions for rollup-plugin-url 3.0
12// Project: https://github.com/Swatinem/rollup-plugin-url#readme
13// Definitions by: Jeroen Claassens <https://github.com/me>
14// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
15/// <reference types="node" />
16import { Plugin } from 'rollup';
17
18interface PluginURLOptions {
19 limit?: number | undefined;
20 include?: string[] | undefined;
21 exclude?: string[] | undefined;
22 publicPath?: string | undefined;
23 emitFiles?: boolean | undefined;
24 fileName?: string | undefined;
25 sourceDir?: string | undefined;
26 destDist?: string | undefined;
27}
28
29declare function url(options?: PluginURLOptions): Plugin;
30
31export default url;
32
33````
34
35### Additional Details
36 * Last updated: Thu, 08 Jul 2021 22:42:10 GMT
37 * Dependencies: [@types/rollup](https://npmjs.com/package/@types/rollup), [@types/node](https://npmjs.com/package/@types/node)
38 * Global values: none
39
40# Credits
41These definitions were written by [Jeroen Claassens](https://github.com/me).
42
\No newline at end of file