npm.io
0.19.6 • Published 2 years ago

@types/rollup-plugin-buble

Licence
MIT
Version
0.19.6
Deps
2
Size
4 kB
Vulns
2
Weekly
0
Stars
51.4K

Installation

npm install --save @types/rollup-plugin-buble

Summary

This package contains type definitions for rollup-plugin-buble (https://github.com/rollup/rollup-plugin-buble#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/rollup-plugin-buble.

index.d.ts

import { TransformOptions } from "buble";
import { Plugin } from "rollup";

declare namespace buble {
    interface Options extends TransformOptions {
        // Every files will be parsed by default, but you can specify which files to include or exclude
        include?: Array<string | RegExp> | string | RegExp | null | undefined;
        exclude?: Array<string | RegExp> | string | RegExp | null | undefined;
    }
}

export = buble;
declare function buble(options?: buble.Options): Plugin;

Additional Details

Credits

These definitions were written by Hugo Alliaume.