@nx/js
Version:
14 lines (13 loc) • 607 B
TypeScript
import { ExecutorContext } from '@nx/devkit';
import { NormalizedSwcExecutorOptions } from '../schema';
export declare function compileSwc(context: ExecutorContext, normalizedOptions: NormalizedSwcExecutorOptions, postCompilationCallback: () => Promise<void>): Promise<{
success: boolean;
outfile?: undefined;
} | {
success: boolean;
outfile: string;
}>;
export declare function compileSwcWatch(context: ExecutorContext, normalizedOptions: NormalizedSwcExecutorOptions, postCompilationCallback: () => Promise<void>): AsyncGenerator<{
success: boolean;
outfile: string;
}, any, any>;