UNPKG

760 BTypeScriptView Raw
1// Type definitions for rollup-plugin-peer-deps-external 2.2
2// Project: https://github.com/Updater/rollup-plugin-peer-deps-external
3// Definitions by: Nick <https://github.com/fobdy>,
4// Max Boguslavskiy <https://github.com/maxbogus>
5// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
6// TypeScript Version: 3.0
7
8/// <reference types="node" />
9
10import { Plugin } from 'rollup';
11
12declare namespace PeerDepsExternalPlugin {
13 interface PluginPeerDepsExternalOptions {
14 packageJsonPath?: string | undefined;
15 includeDependencies?: boolean | undefined;
16 }
17}
18
19declare function PeerDepsExternalPlugin(
20 options?: PeerDepsExternalPlugin.PluginPeerDepsExternalOptions
21): Plugin;
22
23export = PeerDepsExternalPlugin;