Skip to main content

getBuildTimestamp()

import { getBuildTimestamp } from '@dr.pogodin/react-utils';

function getBuildTimestamp(): string;

Returns a string — the build timestamp of the frontend JS bundle in ISO format.

Beware

It relies on Babel and Webpack configurations provided by react-utils library being used by the host code, along with provided mechanics for server creation and client-side app initialization. It won't work correctly with a different app setup.