after-compile.d.ts 589 B

12345678910
  1. import * as webpack from 'webpack';
  2. import type { 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. */
  9. export declare function makeAfterCompile(instance: TSInstance, configFilePath: string | undefined): (compilation: webpack.Compilation, callback: () => void) => void;
  10. //# sourceMappingURL=after-compile.d.ts.map