From b51fec288cdb94c62a454e37dfb80653c2e705e5 Mon Sep 17 00:00:00 2001 From: Sidhartha Chatterjee Date: Tue, 2 Jul 2019 18:11:33 +0530 Subject: [PATCH] Apply suggestions from code review Co-Authored-By: Ward Peeters --- packages/gatsby/src/utils/webpack.config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/gatsby/src/utils/webpack.config.js b/packages/gatsby/src/utils/webpack.config.js index 8eab36445e397..ad3fc0d1ca5dc 100644 --- a/packages/gatsby/src/utils/webpack.config.js +++ b/packages/gatsby/src/utils/webpack.config.js @@ -252,7 +252,7 @@ module.exports = async (program, directory, suppliedStage) => { // prettier-ignore let configRules = [ rules.js({ - modulesThatUseGatsby: modulesThatUseGatsby + modulesThatUseGatsby, }), rules.yaml(), rules.fonts(), @@ -266,7 +266,7 @@ module.exports = async (program, directory, suppliedStage) => { if (stage === `build-javascript`) { configRules.push( rules.dependencies({ - modulesThatUseGatsby: modulesThatUseGatsby, + modulesThatUseGatsby, }) ) }