@datadog/webpack-plugin 2.4.0 → 2.4.2

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 class TrackedFilesMatcher {
6
5
  private trackedFilenames;
@@ -161,7 +160,8 @@ type TelemetryOptions = {
161
160
  timestamp?: number;
162
161
  };
163
162
 
164
- declare const datadogWebpackPlugin: (options: src.WebpackPluginOptions) => webpack.WebpackPluginInstance;
163
+ declare const datadogWebpackPlugin: (options: Options) => webpack.WebpackPluginInstance;
164
+ type WebpackPluginOptions = Options;
165
165
 
166
166
  declare const version: string;
167
167
  declare const helpers: {
@@ -170,5 +170,5 @@ declare const helpers: {
170
170
  };
171
171
  };
172
172
 
173
- export { type types$1 as RumTypes, type types as TelemetryTypes, type Options as WebpackPluginOptions, datadogWebpackPlugin, helpers, version };
173
+ export { type types$1 as RumTypes, type types as TelemetryTypes, type WebpackPluginOptions, datadogWebpackPlugin, helpers, version };
174
174
  //# sourceMappingURL=index.d.ts.map
package/dist/src/index.js CHANGED
@@ -3125,7 +3125,7 @@ const buildPluginFactory = ({
3125
3125
 
3126
3126
  var name = "@datadog/webpack-plugin";
3127
3127
  var packageManager = "yarn@4.0.2";
3128
- var version$1 = "2.4.0";
3128
+ var version$1 = "2.4.2";
3129
3129
  var license = "MIT";
3130
3130
  var author = "Datadog";
3131
3131
  var description = "Datadog Webpack Plugin";