UNPKG

@nx/webpack

Version:

The Nx Plugin for Webpack contains executors and generators that support building applications using Webpack.

14 lines (13 loc) 510 B
import { ExecutorContext } from '@nx/devkit'; import type { WebpackExecutorOptions } from './schema'; export type WebpackExecutorEvent = { success: false; outfile?: string; options?: WebpackExecutorOptions; } | { success: true; outfile: string; options?: WebpackExecutorOptions; }; export declare function webpackExecutor(_options: WebpackExecutorOptions, context: ExecutorContext): AsyncGenerator<WebpackExecutorEvent, WebpackExecutorEvent, undefined>; export default webpackExecutor;