diff --git a/commerce.config.json b/commerce.config.json index 5776a727c..08ea78814 100644 --- a/commerce.config.json +++ b/commerce.config.json @@ -1,5 +1,4 @@ { - "updateTSConfig": true, "features": { "wishlist": true, "customCheckout": false diff --git a/framework/commerce/config.js b/framework/commerce/config.js index c3406f760..2dd3284bc 100644 --- a/framework/commerce/config.js +++ b/framework/commerce/config.js @@ -47,7 +47,7 @@ function withCommerceConfig(nextConfig = {}) { }) // Update paths in `tsconfig.json` to point to the selected provider - if (config.commerce.updateTSConfig) { + if (config.commerce.updateTSConfig !== false) { const tsconfigPath = path.join(process.cwd(), 'tsconfig.json') const tsconfig = require(tsconfigPath)