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.

14 lines (13 loc) 641 B
import type { EsBuildSourceMapOptions } from './run-esbuild'; export declare const INCLUDE_SOURCEMAPS_BUILD_DEFAULT: EsBuildSourceMapOptions; export declare const INCLUDE_SOURCEMAPS_DEV_DEFAULT: EsBuildSourceMapOptions; /** * A helper function to decide whether to include sourcemaps in a build or not. If the * given option is undefined (user did not set it) the default value depending on the mode * (dev or build) is used. * If the option was set by the user it should be obeyed. */ export declare function shouldApplySourcemaps(options: { sourcemaps: boolean | 'all' | undefined; dev?: boolean; }): EsBuildSourceMapOptions;