From c677f77cee788683a30681ed48659ab65fb09f9a Mon Sep 17 00:00:00 2001 From: Ivan Gabriele Date: Fri, 1 Mar 2024 07:51:46 +0100 Subject: [PATCH] build(tsconfig): migrate to bundler module resolution & enable incremental compilation --- tsconfig.dist.json | 2 +- tsconfig.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tsconfig.dist.json b/tsconfig.dist.json index 4c5b2f739..0e39eb8a2 100644 --- a/tsconfig.dist.json +++ b/tsconfig.dist.json @@ -2,7 +2,7 @@ "extends": "./tsconfig.json", "compilerOptions": { "emitDeclarationOnly": true, - "moduleResolution": "Bundler", + "incremental": false, "noEmit": false, "rootDir": "./src" }, diff --git a/tsconfig.json b/tsconfig.json index 9ae495e6f..ad9824afd 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -12,12 +12,12 @@ "declarationMap": true, "exactOptionalPropertyTypes": true, "forceConsistentCasingInFileNames": true, - "incremental": false, + "incremental": true, "isolatedModules": true, "jsx": "react-jsx", "lib": ["DOM", "DOM.Iterable", "ES2022"], "module": "ESNext", - "moduleResolution": "Node", + "moduleResolution": "Bundler", "noEmit": true, "noFallthroughCasesInSwitch": true, "noImplicitAny": false,