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:
@@ -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
|
||||
|
Reference in New Issue
Block a user