@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.
17 lines • 518 B
JavaScript
import { getCDN, setGlobalCDNUrl } from '../lib/parse-cdn';
import { setVersionType } from '../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 = getCDN();
setGlobalCDNUrl(cdn);
// @ts-ignore
__webpack_public_path__ = cdn + '/analytics-next/bundles/';
}
}
setVersionType('web');
export * from '.';
//# sourceMappingURL=browser-umd.js.map