UNPKG

710 BTypeScriptView Raw
1/// <reference types="node" />
2
3import { Plugin } from "rollup";
4
5export interface Options {
6 // Every files will be parsed by default, but you can specify which files to include or exclude
7 include?: Array<string | RegExp> | string | RegExp | null | undefined;
8 exclude?: Array<string | RegExp> | string | RegExp | null | undefined;
9
10 // Enable sourcemaps support
11 sourceMap?: boolean | undefined;
12
13 // Plugin's options
14 process?: boolean | undefined;
15 global?: boolean | undefined;
16 buffer?: boolean | undefined;
17 dirname?: boolean | undefined;
18 filename?: boolean | undefined;
19 baseDir?: string | undefined;
20}
21
22export default function globals(options?: Options): Plugin;