fix: only generate bundle stats during CI (#42094)
* fix: only generate bundle stats during CI * fix: run if CI exists
This commit is contained in:
committed by
GitHub
parent
5f33051a92
commit
916ca023bf
@ -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',
|
||||
|
Reference in New Issue
Block a user