webpack-plugin-modify-entrypoints
Version:
webpack plugin to modify entrypoint contents
12 lines (11 loc) • 454 B
TypeScript
import type { ModifyFn } from './types.js';
import type { Compiler, WebpackPluginInstance } from 'webpack';
export declare const PLUGIN_NAME = "modify-entrypoints";
export type ModifyEntryPointsOptions = {
modify: ModifyFn;
};
export declare class ModifyEntryPoints implements WebpackPluginInstance {
protected readonly options: ModifyEntryPointsOptions;
constructor(options: ModifyEntryPointsOptions);
apply(compiler: Compiler): void;
}