Installation
npm install --save @types/rollup-plugin-node-globals
Summary
This package contains type definitions for rollup-plugin-node-globals (https://github.com/calvinmetcalf/rollup-plugin-node-globals#readme).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/rollup-plugin-node-globals.
import { Plugin } from "rollup";
declare namespace RollupPluginsNodeGlobals {
interface Options {
include?: Array<string | RegExp> | string | RegExp | null | undefined;
exclude?: Array<string | RegExp> | string | RegExp | null | undefined;
sourceMap?: boolean | undefined;
process?: boolean | undefined;
global?: boolean | undefined;
buffer?: boolean | undefined;
dirname?: boolean | undefined;
filename?: boolean | undefined;
baseDir?: string | undefined;
}
}
declare function RollupPluginsNodeGlobals(options?: RollupPluginsNodeGlobals.Options): Plugin;
export = RollupPluginsNodeGlobals;
Additional Details
- Last updated: Mon, 07 Oct 2024 22:38:10 GMT
- Dependencies: rollup
Credits
These definitions were written by Hugo Alliaume.