dt-app
Version:
The Dynatrace App Toolkit is a tool you can use from your command line to create, develop, and deploy apps on your Dynatrace environment.
18 lines (17 loc) • 613 B
TypeScript
import type { Metafile } from 'esbuild';
import type { FileMap } from '../utils/file-map/file-map';
import type { EsbuildOptions } from '../utils/run-esbuild';
import type { Diagnostic } from './diagnostic';
/** The esbuild compilation result */
export interface CompilationResult {
diagnostics: Diagnostic[];
duration: number;
metafile?: Metafile;
}
export type CompileOptions = EsbuildOptions & {
outDir?: string;
};
/** The super fast build function */
export declare function compile(options: CompileOptions, abortSignal?: AbortSignal): Promise<CompilationResult & {
fileMap: FileMap;
}>;