diff --git a/examples/with-env-from-next-config-js/next.config.js b/examples/with-env-from-next-config-js/next.config.js index cf0d96ee31cb..e1278444e215 100644 --- a/examples/with-env-from-next-config-js/next.config.js +++ b/examples/with-env-from-next-config-js/next.config.js @@ -5,7 +5,7 @@ const { // This uses phases as outlined here: https://nextjs.org/docs/#custom-configuration module.exports = (phase) => { - // when started in development mode `next dev` or `npm run dev` regardless of the value of STAGING environmental variable + // when started in development mode `next dev` or `npm run dev` regardless of the value of STAGING environment variable const isDev = phase === PHASE_DEVELOPMENT_SERVER // when `next build` or `npm run build` is used const isProd = phase === PHASE_PRODUCTION_BUILD && process.env.STAGING !== '1'