@datadog/webpack-plugin 2.3.1-dev-13 → 2.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,5 @@
1
- import * as src from 'src';
2
- import webpack from 'webpack';
3
1
  import { UnpluginOptions } from 'unplugin';
2
+ import webpack from 'webpack';
4
3
 
5
4
  declare const CONFIG_KEY$1: "rum";
6
5
 
@@ -103,7 +102,7 @@ type GlobalContext = {
103
102
  start: number;
104
103
  version: string;
105
104
  };
106
- type GetCustomPlugins<T> = (options: T, context: GlobalContext) => UnpluginOptions[];
105
+ type GetCustomPlugins = (options: Options, context: GlobalContext) => UnpluginOptions[];
107
106
  type LogLevel = 'debug' | 'info' | 'warn' | 'error' | 'none';
108
107
  type AuthOptions = {
109
108
  apiKey?: string;
@@ -116,7 +115,7 @@ interface GetPluginsOptions {
116
115
  interface Options extends GetPluginsOptions {
117
116
  [CONFIG_KEY$1]?: RumOptions;
118
117
  [CONFIG_KEY]?: TelemetryOptions;
119
- customPlugins?: GetCustomPlugins<Options>;
118
+ customPlugins?: GetCustomPlugins;
120
119
  }
121
120
 
122
121
  interface Metric {
@@ -143,7 +142,7 @@ type TelemetryOptions = {
143
142
  timestamp?: number;
144
143
  };
145
144
 
146
- declare const datadogWebpackPlugin: (options: src.WebpackPluginOptions) => webpack.WebpackPluginInstance;
145
+ declare const datadogWebpackPlugin: (options: Options) => webpack.WebpackPluginInstance;
147
146
 
148
147
  declare const version: string;
149
148
  declare const helpers: {