@serwist/webpack-plugin
Version:
A plugin for your webpack build process, helping you generate a manifest of local files that should be precached.
16 lines • 721 B
TypeScript
import type { Compilation, Compiler } from "webpack";
import type { WebpackPlugin } from "./types.js";
/**
* Perform a child compilation.
*
* @param compiler The parent webpack compiler.
* @param compilation The webpack compilation.
* @param name The name of the child compiler.
* @param src The source file. Should be absolute.
* @param dest The destination file. Should be relative to the compilation.
* @param plugins Additional webpack plugins.
*
* @private
*/
export declare const performChildCompilation: (compiler: Compiler, compilation: Compilation, name: string, src: string, dest: string, plugins: WebpackPlugin[] | undefined) => Promise<void>;
//# sourceMappingURL=perform-child-compilation.d.ts.map