Change the default of updateTSConfig

This commit is contained in:
Luis Alvarez 2021-03-29 11:37:04 -06:00
parent 2c30dff47e
commit 23ec8f646b
2 changed files with 1 additions and 2 deletions

View File

@ -1,5 +1,4 @@
{ {
"updateTSConfig": true,
"features": { "features": {
"wishlist": true, "wishlist": true,
"customCheckout": false "customCheckout": false

View File

@ -47,7 +47,7 @@ function withCommerceConfig(nextConfig = {}) {
}) })
// Update paths in `tsconfig.json` to point to the selected provider // 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 tsconfigPath = path.join(process.cwd(), 'tsconfig.json')
const tsconfig = require(tsconfigPath) const tsconfig = require(tsconfigPath)