You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
429 B

import { compilation as compilationNS, Compiler } from 'webpack';
import { BeforeEmitOptions } from './JsonWebpackPlugin';
export declare type Options = {
path: string;
json: any;
pretty?: boolean;
};
export default class ModifyJsonWebpackPlugin {
modifyAsync(compiler: Compiler, compilation: compilationNS.Compilation, data: BeforeEmitOptions): Promise<BeforeEmitOptions>;
apply(compiler: Compiler): void;
}