import { InvariantError } from '../shared/lib/invariant-error'; export function getAssetPrefix() { const currentScript = document.currentScript; if (!(currentScript instanceof HTMLScriptElement)) { throw Object.defineProperty(new InvariantError(`Expected document.currentScript to be a