1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-19 14:25:31 -04:00

prevent more hydration mismatches

This commit is contained in:
2022-04-21 12:45:39 -04:00
parent 54c662c1f2
commit 05469218b1
4 changed files with 5 additions and 4 deletions

View File

@@ -24,7 +24,7 @@ module.exports = (phase, { defaultConfig }) => {
productionBrowserSourceMaps: true,
env: {
// freeze build timestamp for when serverless pages need a "last updated" date:
RELEASE_DATE: new Date().toISOString(),
NEXT_PUBLIC_RELEASE_DATE: new Date().toISOString(),
// check if we're running locally via `next dev`:
IS_DEV_SERVER: phase === PHASE_DEVELOPMENT_SERVER,
},