@datadog/webpack-plugin 2.3.1-dev-1 → 2.3.1-dev-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.
package/dist/src/index.js CHANGED
@@ -19099,7 +19099,6 @@ const getInjectionPlugins = (opts, context, toInject) => {
19099
19099
  }
19100
19100
  };
19101
19101
  const isInjectedFile = (id) => {
19102
- console.log("GOT INJECTED FILE", id);
19103
19102
  return id.includes(INJECTED_FILE);
19104
19103
  };
19105
19104
  return [
@@ -19172,23 +19171,17 @@ const getInjectionPlugins = (opts, context, toInject) => {
19172
19171
  name: RESOLUTION_PLUGIN_NAME,
19173
19172
  enforce: "post",
19174
19173
  resolveId(id) {
19175
- console.log("RESOLVE", id);
19176
19174
  if (isInjectedFile(id)) {
19177
- console.log("RESOLVED INJECTED", id);
19178
19175
  return { id, moduleSideEffects: true };
19179
19176
  }
19180
19177
  },
19181
19178
  loadInclude(id) {
19182
- console.log("LOAD INCLUDE", id);
19183
19179
  if (isInjectedFile(id)) {
19184
- console.log("LOAD INCLUDE INJECTED", id);
19185
19180
  return true;
19186
19181
  }
19187
19182
  },
19188
19183
  load(id) {
19189
- console.log("LOAD", id);
19190
19184
  if (isInjectedFile(id)) {
19191
- console.log("LOAD INJECTED", id);
19192
19185
  return getContentToInject();
19193
19186
  }
19194
19187
  }
@@ -33239,7 +33232,7 @@ const buildPluginFactory = ({
33239
33232
 
33240
33233
  var name = "@datadog/webpack-plugin";
33241
33234
  var packageManager = "yarn@4.0.2";
33242
- var version$1 = "2.3.1-dev-1";
33235
+ var version$1 = "2.3.1-dev-2";
33243
33236
  var license = "MIT";
33244
33237
  var author = "Datadog";
33245
33238
  var description = "Datadog Webpack Plugin";
@@ -33303,7 +33296,13 @@ var devDependencies = {
33303
33296
  typescript: "5.4.3"
33304
33297
  };
33305
33298
  var peerDependencies = {
33306
- webpack: ">= 4.x < 6.x"
33299
+ webpack: ">= 4.x < 6.x",
33300
+ "webpack-sources": "^3"
33301
+ };
33302
+ var peerDependenciesMeta = {
33303
+ "webpack-sources": {
33304
+ optional: true
33305
+ }
33307
33306
  };
33308
33307
  var stableVersion = "2.3.0";
33309
33308
  var pkg = {
@@ -33324,6 +33323,7 @@ var pkg = {
33324
33323
  scripts: scripts,
33325
33324
  devDependencies: devDependencies,
33326
33325
  peerDependencies: peerDependencies,
33326
+ peerDependenciesMeta: peerDependenciesMeta,
33327
33327
  stableVersion: stableVersion
33328
33328
  };
33329
33329