@datadog/esbuild-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 +1 -8
- package/dist/src/index.js.map +1 -1
- package/dist/src/index.mjs +1 -8
- package/dist/src/index.mjs.map +1 -1
- package/package.json +1 -1
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/esbuild-plugin";
|
|
33241
33234
|
var packageManager = "yarn@4.0.2";
|
|
33242
|
-
var version$1 = "2.3.1-dev-
|
|
33235
|
+
var version$1 = "2.3.1-dev-2";
|
|
33243
33236
|
var license = "MIT";
|
|
33244
33237
|
var author = "Datadog";
|
|
33245
33238
|
var description = "Datadog ESBuild Plugin";
|