@types/rollup-plugin-url
Version:
TypeScript definitions for rollup-plugin-url
36 lines (27 loc) • 1.11 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
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: Fri, 01 Mar 2024 00:50:47 GMT
* Dependencies: [rollup](https://npmjs.com/package/rollup)
# Credits
These definitions were written by [Jeroen Claassens](https://github.com/me).