UNPKG

@nx/js

Version:

The JS plugin for Nx contains executors and generators that provide the best experience for developing JavaScript and TypeScript projects.

14 lines (13 loc) 607 B
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>;