diff --git a/client/gatsby-config.js b/client/gatsby-config.js index 976e8a4a11..3e4ad85b5e 100644 --- a/client/gatsby-config.js +++ b/client/gatsby-config.js @@ -28,7 +28,7 @@ module.exports = { resolve: 'gatsby-plugin-webpack-bundle-analyser-v2', options: { analyzerMode: 'disabled', - generateStatsFile: true + generateStatsFile: process.env.CI } }, 'gatsby-plugin-react-helmet',