UNPKG

@ctx-core/version__app

Version:
12 lines 470 B
import { _b } from '@ctx-core/object'; import { derived$ } from '@ctx-core/store'; import { CACHE_VERSION_b, VERSION_b } from '@ctx-core/env'; const key = 'app_version'; export const app_version_b = _b(key, ctx => derived$([ CACHE_VERSION_b(ctx), VERSION_b(ctx), ], ([$CACHE_VERSION, $VERSION]) => $CACHE_VERSION || $VERSION || Math.random().toString())); export { app_version_b as b__version__app }; //# sourceMappingURL=../src/dist/app_version_b.js.map