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.
12 lines (11 loc) • 681 B
TypeScript
import type { ResolvedCliOptions } from '../config/cli-options';
/**
* Reports build plugins used in the app via telemetry.
* When optimize is enabled, reports Vite plugins from the UI build.
* Otherwise, reports ESBuild plugins from the API and UI builds.
*
* @param options - Resolved CLI options containing build configuration
* @param eventName - Name of the bizevent (e.g., 'deployBuildPlugins', 'publishBuildPlugins')
* @param isOptimizeEnabled - Whether the optimize flag is set; if true, reports Vite plugins instead of ESBuild plugins
*/
export declare function reportBuildPlugins(options: ResolvedCliOptions, eventName: string, isOptimizeEnabled: boolean): void;