UNPKG

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.

11 lines (10 loc) 540 B
import type { Plugin } from 'vite'; /** A widget is either an action widget (wrapped) or a settings widget (unwrapped). */ export type WidgetType = 'actions' | 'settings'; /** * Vite dev plugin that serves each widget document through Vite's transform pipeline, * mirroring how `dt-html-plugin` serves the UI. Widget discovery, entry generation, and * file watching all live inside `configureServer` — no external setup function needed, * exactly like every other dev plugin. */ export declare function dtWidgetVitePlugin(): Plugin;