From 45b77670ec2c7ac91e54f5e32fa470745dbea786 Mon Sep 17 00:00:00 2001 From: rakannimer Date: Mon, 2 Sep 2019 11:57:48 +0300 Subject: [PATCH] fix(gatsby-theme-docz): fix style differences between dev and build --- core/gatsby-theme-docz/lib/onCreateWebpackConfig.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/gatsby-theme-docz/lib/onCreateWebpackConfig.js b/core/gatsby-theme-docz/lib/onCreateWebpackConfig.js index 8d488ef26..514ad9325 100644 --- a/core/gatsby-theme-docz/lib/onCreateWebpackConfig.js +++ b/core/gatsby-theme-docz/lib/onCreateWebpackConfig.js @@ -20,7 +20,7 @@ module.exports = async (params, opts) => { }) } - if (hasParentNodeModules && stage === 'develop') { + if (hasParentNodeModules) { actions.setWebpackConfig({ resolve: { modules: [nodeModules, parentNodeModules],