UNPKG

796 BTypeScriptView Raw
1// Type definitions for rollup-plugin-buble 0.19
2// Project: https://github.com/rollup/rollup-plugin-buble#readme
3// Definitions by: Hugo Alliaume <https://github.com/Kocal>
4// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
5// TypeScript Version: 2.3
6
7/// <reference types="node" />
8
9import { Plugin } from 'rollup';
10import { TransformOptions } from 'buble';
11
12declare namespace buble {
13 interface Options extends TransformOptions {
14 // Every files will be parsed by default, but you can specify which files to include or exclude
15 include?: Array<string | RegExp> | string | RegExp | null | undefined;
16 exclude?: Array<string | RegExp> | string | RegExp | null | undefined;
17 }
18}
19
20export = buble;
21declare function buble(options?: buble.Options): Plugin;