mirror of
https://github.com/vercel/commerce.git
synced 2025-06-19 21:51:21 +00:00
Fix provider config overwrite
This commit is contained in:
parent
5dd1a6e508
commit
2f428791cf
@ -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 || {}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user