@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.mjs
CHANGED
|
@@ -19076,7 +19076,6 @@ const getInjectionPlugins = (opts, context, toInject) => {
|
|
|
19076
19076
|
}
|
|
19077
19077
|
};
|
|
19078
19078
|
const isInjectedFile = (id) => {
|
|
19079
|
-
console.log("GOT INJECTED FILE", id);
|
|
19080
19079
|
return id.includes(INJECTED_FILE);
|
|
19081
19080
|
};
|
|
19082
19081
|
return [
|
|
@@ -19149,23 +19148,17 @@ const getInjectionPlugins = (opts, context, toInject) => {
|
|
|
19149
19148
|
name: RESOLUTION_PLUGIN_NAME,
|
|
19150
19149
|
enforce: "post",
|
|
19151
19150
|
resolveId(id) {
|
|
19152
|
-
console.log("RESOLVE", id);
|
|
19153
19151
|
if (isInjectedFile(id)) {
|
|
19154
|
-
console.log("RESOLVED INJECTED", id);
|
|
19155
19152
|
return { id, moduleSideEffects: true };
|
|
19156
19153
|
}
|
|
19157
19154
|
},
|
|
19158
19155
|
loadInclude(id) {
|
|
19159
|
-
console.log("LOAD INCLUDE", id);
|
|
19160
19156
|
if (isInjectedFile(id)) {
|
|
19161
|
-
console.log("LOAD INCLUDE INJECTED", id);
|
|
19162
19157
|
return true;
|
|
19163
19158
|
}
|
|
19164
19159
|
},
|
|
19165
19160
|
load(id) {
|
|
19166
|
-
console.log("LOAD", id);
|
|
19167
19161
|
if (isInjectedFile(id)) {
|
|
19168
|
-
console.log("LOAD INJECTED", id);
|
|
19169
19162
|
return getContentToInject();
|
|
19170
19163
|
}
|
|
19171
19164
|
}
|
|
@@ -33216,7 +33209,7 @@ const buildPluginFactory = ({
|
|
|
33216
33209
|
|
|
33217
33210
|
var name = "@datadog/esbuild-plugin";
|
|
33218
33211
|
var packageManager = "yarn@4.0.2";
|
|
33219
|
-
var version$1 = "2.3.1-dev-
|
|
33212
|
+
var version$1 = "2.3.1-dev-2";
|
|
33220
33213
|
var license = "MIT";
|
|
33221
33214
|
var author = "Datadog";
|
|
33222
33215
|
var description = "Datadog ESBuild Plugin";
|