mirror of
https://github.com/vercel/commerce.git
synced 2025-06-19 05:31:22 +00:00
Change the default of updateTSConfig
This commit is contained in:
parent
2c30dff47e
commit
23ec8f646b
@ -1,5 +1,4 @@
|
||||
{
|
||||
"updateTSConfig": true,
|
||||
"features": {
|
||||
"wishlist": true,
|
||||
"customCheckout": false
|
||||
|
@ -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)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user