diff --git a/gatsby-config.js b/gatsby-config.js index d490d09..7886472 100644 --- a/gatsby-config.js +++ b/gatsby-config.js @@ -2,9 +2,9 @@ const buildId = [ process.env.CI_COMMIT_REF_SLUG || 'prerelese', (process.env.CI_COMMIT_SHA || 'gitsha').slice(0, 7) ].join('-'); -const banner = (process.env.NODE_ENV === 'production') +const banner = process.env.BANNER || (process.env.NODE_ENV === 'production' ? false - : (process.env.NODE_ENV || 'development'); + : (process.env.NODE_ENV || 'development')); module.exports = { siteMetadata: {