From 23ec8f646b391ff2b7495bb1af6307d797c824f3 Mon Sep 17 00:00:00 2001 From: Luis Alvarez Date: Mon, 29 Mar 2021 11:37:04 -0600 Subject: [PATCH] Change the default of updateTSConfig --- commerce.config.json | 1 - framework/commerce/config.js | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) 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)