DefinitelyTyped/types/webpack-pkg-plugin-v4/index.d.ts
Pintara 638046a5c6
Add type definition of webpack-pkg-plugin-v4 (#45465)
* Add type definition of webpack-pkg-plugin-v4

* webpack-pkg-plugin-v4: Fix formatting errors

* webpack-pkg-plugin-v4: Remove assets, scripts from Configuration

Seems source on the main branch and on the package is different
2020-06-23 12:10:15 -04:00

16 lines
448 B
TypeScript

// Type definitions for webpack-pkg-plugin-v4 2.0
// Project: https://github.com/Metnew/webpack-pkg-plugin#readme
// Definitions by: danpintara <https://github.com/danpintara>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
import { Plugin } from 'webpack';
export interface Configuration {
targets?: string[];
output: string;
}
export class WebpackPkgPlugin extends Plugin {
constructor(config: Configuration);
}