2.0.5 • Published 7 months ago

@types/rollup-plugin-auto-external v2.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

Installation

npm install --save @types/rollup-plugin-auto-external

Summary

This package contains type definitions for foo rollup-plugin-auto-external (https://github.com/stevenbenisek/rollup-plugin-auto-external).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/rollup-plugin-auto-external.

index.d.ts

// Type definitions for foo rollup-plugin-auto-external 2.0
// Project: https://github.com/stevenbenisek/rollup-plugin-auto-external
// Definitions by: rxliuli <https://github.com/rxliuli>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

import { Plugin } from 'rollup';

interface AutoExternalOptions {
    /**
     * defaults to true. Add all Node.js builtin modules (in the running version) as externals. Specify a string value (e.g., '6.0.0') to add all builtin modules for a specific version of Node.js.
     * Rollup will complain if builtins is present, and the build target is a browser. You may want [rollup-plugin-node-builtins](https://npm.im/package/rollup-plugin-node-builtins).
     */
    builtins?: boolean | string | undefined;

    /**
     * defaults to true.
     */
    dependencies?: boolean | undefined;

    /**
     * defaults to process.cwd(). Path to a package.json file or its directory.
     */
    packagePath?: string | undefined;

    /**
     * defaults to true.
     */
    peerDependencies?: boolean | undefined;
}

declare function autoExternal(options?: AutoExternalOptions): Plugin;
export = autoExternal;

Additional Details

  • Last updated: Thu, 08 Jul 2021 22:42:08 GMT
  • Dependencies: @types/rollup
  • Global values: none

Credits

These definitions were written by rxliuli.

2.0.3

8 months ago

2.0.5

7 months ago

2.0.4

7 months ago

2.0.2

3 years ago

2.0.1

3 years ago

2.0.0

3 years ago