mirror of
https://github.com/vercel/commerce.git
synced 2025-07-22 20:26:49 +00:00
Updated the commerce config structure
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
const commerce = require('./commerce.config.json')
|
||||
const withCommerceConfig = require('./framework/commerce/with-config')
|
||||
|
||||
const commerce = { provider: 'shopify' }
|
||||
const isBC = commerce.provider === 'bigcommerce'
|
||||
const isShopify = commerce.provider === 'shopify'
|
||||
|
||||
@@ -39,3 +39,5 @@ module.exports = withCommerceConfig({
|
||||
].filter((x) => x)
|
||||
},
|
||||
})
|
||||
|
||||
console.log('configs', module.exports)
|
||||
|
Reference in New Issue
Block a user