@types/rollup-plugin-auto-external
TypeScript icon, indicating that this package has built-in type declarations

2.0.5 • Public • Published

Installation

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

Summary

This package contains type definitions for 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

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: Tue, 07 Nov 2023 15:11:36 GMT
  • Dependencies: rollup

Credits

These definitions were written by rxliuli.

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @types/rollup-plugin-auto-external

    Weekly Downloads

    7,073

    Version

    2.0.5

    License

    MIT

    Unpacked Size

    4.57 kB

    Total Files

    5

    Last publish

    Collaborators

    • types