posthog-js
Version:
Posthog-js allows you to automatically capture usage and send events to PostHog.
27 lines • 1.17 kB
JavaScript
;
// a straight copy of the array.full.ts entrypoint,
// but will have different config when passed through rollup
// to allow es5/IE11 support
Object.defineProperty(exports, "__esModule", { value: true });
// it doesn't include recorder which doesn't support IE11,
// and it doesn't include "web-vitals" which doesn't support IE11
require("core-js/features/object/entries");
require("core-js/features/object/from-entries");
require("core-js/features/promise");
// used by uuidv7, in both @posthog/core and @posthog/browser-common
require("core-js/features/math/trunc");
require("core-js/features/number/is-integer");
if (typeof performance === 'undefined' || typeof performance.now !== 'function') {
var perf = typeof performance !== 'undefined' ? performance : {};
perf.now = perf.now || (function () { return Date.now(); });
if (typeof performance === 'undefined') {
// oxlint-disable-next-line no-restricted-globals
;
window.performance = perf;
}
}
require("./surveys");
require("./exception-autocapture");
require("./tracing-headers");
require("./array.no-external");
//# sourceMappingURL=array.full.es5.js.map