@datadog/rollup-plugin 2.3.1-dev-5 → 2.3.1-dev-7
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 +4 -3
- package/dist/src/index.js.map +1 -1
- package/dist/src/index.mjs +4 -3
- package/dist/src/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/src/index.js
CHANGED
|
@@ -23542,15 +23542,16 @@ const defaultFilters = [
|
|
|
23542
23542
|
|
|
23543
23543
|
const validateOptions$1 = (opts) => {
|
|
23544
23544
|
const options = opts[CONFIG_KEY] || {};
|
|
23545
|
+
const endPoint = options.endPoint || "https://app.datadoghq.com";
|
|
23545
23546
|
return {
|
|
23546
23547
|
disabled: false,
|
|
23547
23548
|
enableTracing: false,
|
|
23548
|
-
endPoint: "app.datadoghq.com",
|
|
23549
23549
|
filters: defaultFilters,
|
|
23550
23550
|
output: false,
|
|
23551
23551
|
prefix: "",
|
|
23552
23552
|
tags: [],
|
|
23553
|
-
...options
|
|
23553
|
+
...options,
|
|
23554
|
+
endPoint: endPoint.startsWith("http") ? endPoint : `https://${endPoint}`
|
|
23554
23555
|
};
|
|
23555
23556
|
};
|
|
23556
23557
|
const getMetric = (metric, opts) => ({
|
|
@@ -36468,7 +36469,7 @@ const buildPluginFactory = ({
|
|
|
36468
36469
|
|
|
36469
36470
|
var name = "@datadog/rollup-plugin";
|
|
36470
36471
|
var packageManager = "yarn@4.0.2";
|
|
36471
|
-
var version$1 = "2.3.1-dev-
|
|
36472
|
+
var version$1 = "2.3.1-dev-7";
|
|
36472
36473
|
var license = "MIT";
|
|
36473
36474
|
var author = "Datadog";
|
|
36474
36475
|
var description = "Datadog Rollup Plugin";
|