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.
10 lines (9 loc) • 458 B
TypeScript
import type { Plugin } from 'vite';
/**
* Vite plugin that excludes node_module files from sourceMaps.
* Uses Rolldown's transform hook to return an empty source map for vendor files,
* which prevents their source content from being included in the final bundle's source map.
*
* This is the Vite-compatible counterpart of the esbuild-only `excludeVendorFromSourceMapPlugin`.
*/
export declare const excludeVendorFromSourceMapVitePlugin: () => Plugin;