@types/rollup-plugin-url
Version:
TypeScript definitions for rollup-plugin-url
37 lines (28 loc) • 1.2 kB
Markdown
# Installation
> `npm install --save @types/rollup-plugin-url`
# Summary
This package contains type definitions for rollup-plugin-url (https://github.com/Swatinem/rollup-plugin-url#readme).
# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/rollup-plugin-url.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/rollup-plugin-url/index.d.ts)
````ts
/// <reference types="node" />
import { Plugin } from "rollup";
interface PluginURLOptions {
limit?: number | undefined;
include?: string[] | undefined;
exclude?: string[] | undefined;
publicPath?: string | undefined;
emitFiles?: boolean | undefined;
fileName?: string | undefined;
sourceDir?: string | undefined;
destDist?: string | undefined;
}
declare function url(options?: PluginURLOptions): Plugin;
export default url;
````
### Additional Details
* Last updated: Tue, 07 Nov 2023 15:11:36 GMT
* Dependencies: [@types/node](https://npmjs.com/package/@types/node), [rollup](https://npmjs.com/package/rollup)
# Credits
These definitions were written by [Jeroen Claassens](https://github.com/me).