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

add getStaticProps types

This commit is contained in:
2022-06-30 20:56:34 -04:00
parent 5f22b7989d
commit 887c24d317
17 changed files with 67 additions and 50 deletions

View File

@@ -24,8 +24,8 @@ module.exports = (phase, { defaultConfig }) => {
trailingSlash: true,
productionBrowserSourceMaps: true,
env: {
// freeze build timestamp for when serverless pages need a "last updated" date:
NEXT_PUBLIC_RELEASE_DATE: new Date().toISOString(),
// freeze build timestamp for when server-side pages need a "last updated" date:
RELEASE_DATE: new Date().toISOString(),
// check if we're running locally via `next dev`:
IS_DEV_SERVER: phase === PHASE_DEVELOPMENT_SERVER,
// https://nextjs.org/docs/api-reference/cli#development