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 |
|
9 | import { Plugin } from 'rollup';
|
10 | import { TransformOptions } from 'buble';
|
11 |
|
12 | declare 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 |
|
20 | export = buble;
|
21 | declare function buble(options?: buble.Options): Plugin;
|