aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant/src/util/version.ts
blob: 5264cd6591af0ad0f8f8999253b39e40c5f82108 (plain) (blame)
1
2
3
4
5
6
7
8
const anyWindow = window as any;

export const versionUtil = {
    writeVersionInfoToWindow: () => {
        anyWindow.__zeroExInstantGitSha = process.env.GIT_SHA;
        anyWindow.__zeroExInstantNpmVersion = process.env.NPM_PACKAGE_VERSION;
    },
};