Skip to content

Commit

Permalink
fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
wardpeet committed Sep 16, 2021
1 parent 1eddb1f commit e2e26f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/gatsby/src/utils/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ module.exports = async (

plugins.virtualModules(),
new BabelConfigItemsCacheInvalidatorPlugin(),
process.env.GATSBY_WEBPACK_LOGGING.split(`,`).includes(stage) &&
process.env.GATSBY_WEBPACK_LOGGING?.split(`,`)?.includes(stage) &&
new WebpackLoggingPlugin(program.directory, report, program.verbose),
].filter(Boolean)

Expand All @@ -247,7 +247,7 @@ module.exports = async (
plugins.noEmitOnErrors(),
plugins.eslintGraphqlSchemaReload(),
new StaticQueryMapper(store),
])
])git push
.filter(Boolean)

configPlugins.push(
Expand Down

0 comments on commit e2e26f6

Please sign in to comment.