Updated the commerce config structure

This commit is contained in:
Luis Alvarez
2021-02-25 16:39:01 -05:00
parent f5980d2d46
commit 121ec4b61f
7 changed files with 17 additions and 13 deletions

View File

@@ -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)