• Version 1.4.4
  • Published
  • 4.26 kB
  • 2 dependencies
  • MIT license


npm i @types/rollup-plugin-node-globals
yarn add @types/rollup-plugin-node-globals
pnpm add @types/rollup-plugin-node-globals


TypeScript definitions for rollup-plugin-node-globals



function globals

globals: (options?: Options) => Plugin;


    interface Options

    interface Options {}

      property baseDir

      baseDir?: string | undefined;

        property buffer

        buffer?: boolean | undefined;

          property dirname

          dirname?: boolean | undefined;

            property exclude

            exclude?: Array<string | RegExp> | string | RegExp | null | undefined;

              property filename

              filename?: boolean | undefined;

                property global

                global?: boolean | undefined;

                  property include

                  include?: Array<string | RegExp> | string | RegExp | null | undefined;

                    property process

                    process?: boolean | undefined;

                      property sourceMap

                      sourceMap?: boolean | undefined;

                        Package Files (1)

                        Dependencies (2)

                        Dev Dependencies (0)

                        No dev dependencies.

                        Peer Dependencies (0)

                        No peer dependencies.


                        To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

                        You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/@types/rollup-plugin-node-globals.

                        • Markdown
                        • HTML
                          <a href="https://www.jsdocs.io/package/@types/rollup-plugin-node-globals"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>