import { getCDN, setGlobalCDNUrl } from '../lib/parse-cdn' import { setVersionType } from '../plugins/segmentio/normalize' if (process.env.ASSET_PATH) { if (process.env.ASSET_PATH === '/dist/umd/') { // @ts-ignore __webpack_public_path__ = '/dist/umd/' } else { const cdn = getCDN() setGlobalCDNUrl(cdn) // preserving original behavior -- TODO: neccessary? // @ts-ignore __webpack_public_path__ = cdn + '/analytics-next/bundles/' } } setVersionType('web') export * from '.'