webpack-chunk-report-plugin
Version:
Webpack Chunk Report Plugin
14 lines (13 loc) • 693 B
TypeScript
import type { Configuration } from "webpack";
import type { WebpackConfigHOC, Options } from "./types";
/**
* Creates a higher-order function for Webpack configuration
* @param baseConfig - The base Webpack configuration
* @param hocs - Array of configuration higher-order functions
* @returns Merged Webpack configuration
*/
export declare function createWebpackConfig(baseConfig: Configuration, ...hocs: WebpackConfigHOC[]): Configuration;
export declare function withChunkReportPlugin(options?: Options): WebpackConfigHOC;
export type { Module, Chunk, Reason } from "./types";
export type { WebpackConfigHOC, Options } from "./types";
export { METADATA_KEY } from "./rules/constants";