From 5916adcf141d2c75e66c9645bd221cc56910cbb8 Mon Sep 17 00:00:00 2001 From: Simon Date: Mon, 3 Jul 2023 14:59:36 +0800 Subject: [PATCH] feat(crb): adjust tsconfig * --- templates/template-react-recoil/tsconfig.json | 3 +-- templates/template-react-recoil/tsconfig.node.json | 2 +- templates/template-react-ts/tsconfig.json | 3 +-- templates/template-react-ts/tsconfig.node.json | 2 +- 4 files changed, 4 insertions(+), 6 deletions(-) diff --git a/templates/template-react-recoil/tsconfig.json b/templates/template-react-recoil/tsconfig.json index d1d2c17..a7dbb38 100644 --- a/templates/template-react-recoil/tsconfig.json +++ b/templates/template-react-recoil/tsconfig.json @@ -13,9 +13,8 @@ "allowJs": false, "esModuleInterop": false, "isolatedModules": true, - "moduleResolution": "bundler", + "moduleResolution": "Node", "resolveJsonModule": true, - "allowImportingTsExtensions": true, "allowSyntheticDefaultImports": true, "forceConsistentCasingInFileNames": true, diff --git a/templates/template-react-recoil/tsconfig.node.json b/templates/template-react-recoil/tsconfig.node.json index 3014d82..f83083d 100644 --- a/templates/template-react-recoil/tsconfig.node.json +++ b/templates/template-react-recoil/tsconfig.node.json @@ -3,7 +3,7 @@ "module": "ESNext", "composite": true, "skipLibCheck": true, - "moduleResolution": "bundler", + "moduleResolution": "Node", "allowSyntheticDefaultImports": true }, "include": ["vite.config.ts"] diff --git a/templates/template-react-ts/tsconfig.json b/templates/template-react-ts/tsconfig.json index d1d2c17..a7dbb38 100644 --- a/templates/template-react-ts/tsconfig.json +++ b/templates/template-react-ts/tsconfig.json @@ -13,9 +13,8 @@ "allowJs": false, "esModuleInterop": false, "isolatedModules": true, - "moduleResolution": "bundler", + "moduleResolution": "Node", "resolveJsonModule": true, - "allowImportingTsExtensions": true, "allowSyntheticDefaultImports": true, "forceConsistentCasingInFileNames": true, diff --git a/templates/template-react-ts/tsconfig.node.json b/templates/template-react-ts/tsconfig.node.json index 3014d82..f83083d 100644 --- a/templates/template-react-ts/tsconfig.node.json +++ b/templates/template-react-ts/tsconfig.node.json @@ -3,7 +3,7 @@ "module": "ESNext", "composite": true, "skipLibCheck": true, - "moduleResolution": "bundler", + "moduleResolution": "Node", "allowSyntheticDefaultImports": true }, "include": ["vite.config.ts"]