From 2f428791cfcd86da7f5a56bc42c32cc2189b67fa Mon Sep 17 00:00:00 2001 From: cond0r Date: Sun, 6 Jun 2021 11:15:38 +0300 Subject: [PATCH] Fix provider config overwrite --- framework/commerce/config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/commerce/config.js b/framework/commerce/config.js index 48f0d526b..2658390ef 100644 --- a/framework/commerce/config.js +++ b/framework/commerce/config.js @@ -40,7 +40,7 @@ function withCommerceConfig(nextConfig = {}) { } const commerceNextConfig = require(path.join('../', name, 'next.config')) - const config = merge(commerceNextConfig, nextConfig) + const config = merge(nextConfig, commerceNextConfig) config.env = config.env || {}