1 | // Type definitions for rollup-plugin-url 3.0
|
2 | // Project: https://github.com/Swatinem/rollup-plugin-url#readme
|
3 | // Definitions by: Jeroen Claassens <https://github.com/me>
|
4 | // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
5 | /// <reference types="node" />
|
6 | import { Plugin } from 'rollup';
|
7 |
|
8 | interface PluginURLOptions {
|
9 | limit?: number | undefined;
|
10 | include?: string[] | undefined;
|
11 | exclude?: string[] | undefined;
|
12 | publicPath?: string | undefined;
|
13 | emitFiles?: boolean | undefined;
|
14 | fileName?: string | undefined;
|
15 | sourceDir?: string | undefined;
|
16 | destDist?: string | undefined;
|
17 | }
|
18 |
|
19 | declare function url(options?: PluginURLOptions): Plugin;
|
20 |
|
21 | export default url;
|