UNPKG

640 BTypeScriptView Raw
1import * as webpack from 'webpack';
2import { TSInstance } from './interfaces';
3/**
4 * This returns a function that has options to add assets and also to provide errors to webpack
5 * In webpack 4 we can do both during the afterCompile hook
6 * In webpack 5 only errors should be provided during aftercompile. Assets should be
7 * emitted during the afterProcessAssets hook
8 */
9export declare function makeAfterCompile(instance: TSInstance, addAssets: boolean, provideErrors: boolean, configFilePath: string | undefined): (compilation: webpack.compilation.Compilation, callback: () => void) => void;
10//# sourceMappingURL=after-compile.d.ts.map
\No newline at end of file