-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathindex.d.ts
More file actions
21 lines (19 loc) · 700 Bytes
/
index.d.ts
File metadata and controls
21 lines (19 loc) · 700 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import { Plugin } from 'webpack';
declare class GeneratePackageJsonPlugin extends Plugin {
constructor(
basePackageValues: Record<string, unknown>,
extraOptions?: {
debug?: boolean;
/** @deprecated Use sourcePackageFilenames instead */
extraSourcePackageFilenames?: string[];
sourcePackageFilenames?: string[];
/** @deprecated Simply add these dependencies to your base package.json */
additionalDependencies?: Record<string, string>;
useInstalledVersions?: boolean;
resolveContextPaths?: string[];
forceWebpackVersion?: "webpack4" | "webpack5";
excludeDependencies?: string[];
},
);
}
export = GeneratePackageJsonPlugin;