From 12a27be7ef9c5138a4697469c7b58c74a261c919 Mon Sep 17 00:00:00 2001 From: Joshua Chen Date: Thu, 28 Apr 2022 19:26:01 +0800 Subject: [PATCH 1/2] chore: remove baseUrl from tsconfig --- packages/docusaurus-plugin-ideal-image/tsconfig.json | 1 - packages/docusaurus-plugin-pwa/tsconfig.json | 1 - packages/docusaurus-theme-classic/tsconfig.json | 3 +-- packages/docusaurus-theme-search-algolia/tsconfig.json | 1 - 4 files changed, 1 insertion(+), 5 deletions(-) diff --git a/packages/docusaurus-plugin-ideal-image/tsconfig.json b/packages/docusaurus-plugin-ideal-image/tsconfig.json index 4b7c4f42a698..51aec434b257 100644 --- a/packages/docusaurus-plugin-ideal-image/tsconfig.json +++ b/packages/docusaurus-plugin-ideal-image/tsconfig.json @@ -3,7 +3,6 @@ "compilerOptions": { "lib": ["DOM", "ES2019"], "rootDir": "src", - "baseUrl": "src", "outDir": "lib" } } diff --git a/packages/docusaurus-plugin-pwa/tsconfig.json b/packages/docusaurus-plugin-pwa/tsconfig.json index 4b7c4f42a698..51aec434b257 100644 --- a/packages/docusaurus-plugin-pwa/tsconfig.json +++ b/packages/docusaurus-plugin-pwa/tsconfig.json @@ -3,7 +3,6 @@ "compilerOptions": { "lib": ["DOM", "ES2019"], "rootDir": "src", - "baseUrl": "src", "outDir": "lib" } } diff --git a/packages/docusaurus-theme-classic/tsconfig.json b/packages/docusaurus-theme-classic/tsconfig.json index ab5531d36d62..145e89f84a44 100644 --- a/packages/docusaurus-theme-classic/tsconfig.json +++ b/packages/docusaurus-theme-classic/tsconfig.json @@ -4,8 +4,7 @@ "lib": ["DOM", "ES2019"], "module": "esnext", "noEmit": true, - "jsx": "react-native", - "baseUrl": "src" + "jsx": "react-native" }, "include": ["src/"] } diff --git a/packages/docusaurus-theme-search-algolia/tsconfig.json b/packages/docusaurus-theme-search-algolia/tsconfig.json index 4b7c4f42a698..51aec434b257 100644 --- a/packages/docusaurus-theme-search-algolia/tsconfig.json +++ b/packages/docusaurus-theme-search-algolia/tsconfig.json @@ -3,7 +3,6 @@ "compilerOptions": { "lib": ["DOM", "ES2019"], "rootDir": "src", - "baseUrl": "src", "outDir": "lib" } } From bc4cfa9e3e316b55b5ddd84410fe490cf1727a10 Mon Sep 17 00:00:00 2001 From: Joshua Chen Date: Thu, 28 Apr 2022 20:36:11 +0800 Subject: [PATCH 2/2] ?