@segment/analytics-next
Version:
Analytics Next (aka Analytics 2.0) is the latest version of Segment’s JavaScript SDK - enabling you to send your data to any tool without having to learn, test, or use a new API every time.
20 lines • 693 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = require("tslib");
var parse_cdn_1 = require("../lib/parse-cdn");
var version_type_1 = require("../lib/version-type");
if (process.env.IS_WEBPACK_BUILD) {
if (process.env.ASSET_PATH) {
// @ts-ignore
__webpack_public_path__ = process.env.ASSET_PATH;
}
else {
var cdn = (0, parse_cdn_1.getCDN)();
(0, parse_cdn_1.setGlobalCDNUrl)(cdn);
// @ts-ignore
__webpack_public_path__ = cdn + '/analytics-next/bundles/';
}
}
(0, version_type_1.setVersionType)('web');
tslib_1.__exportStar(require("."), exports);
//# sourceMappingURL=browser-umd.js.map