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.
9 lines (8 loc) • 570 B
TypeScript
import type { Plugin } from 'esbuild';
/**
* The plugin handles resolving ".node" imports. ".node" imports are used for native node modules in packages like
* fsevents. Esbuild would break if a build would encounter a ".node" import without this plugin. This caused issues when adding
* a plugin to an app.config.ts file since the config would have to be compiled including the package that includes native node module imports.
* Code from https://github.com/evanw/esbuild/issues/1051#issuecomment-806325487
*/
export declare const nativeNodeModulesPlugin: Plugin;