Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface PluginLoaderConfig

Plugins are user-provided objects containing functions that should be run when a module is loaded, with the intent of monkeypatching a module to be loaded. Each plugin is specific to a module.

Plugin objects are a list of load hooks, each of which consists of a file path of a module-internal file to patch, a patch/intercept/hook function, as well as the version range of the module for which that file should be patched. (See ./plugin-types for the exact interface.)

Hierarchy

Index

Properties

enhancedDatabaseReporting

enhancedDatabaseReporting: boolean

ignoreContextHeader

ignoreContextHeader: boolean

Optional ignoreUrls

ignoreUrls: Array<string | RegExp>

plugins

plugins: object

Type declaration

  • [pluginName: string]: string

samplingRate

samplingRate: number

Generated using TypeDoc