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 || {}