From 4277618e74e0dacefd837a8f3bf09d529b4a0fff Mon Sep 17 00:00:00 2001 From: Joshua Chen Date: Tue, 17 May 2022 14:59:31 +0800 Subject: [PATCH] add target --- packages/docusaurus-plugin-content-docs/tsconfig.client.json | 1 + packages/docusaurus-plugin-debug/tsconfig.client.json | 1 + .../docusaurus-plugin-google-analytics/tsconfig.client.json | 1 + packages/docusaurus-plugin-google-gtag/tsconfig.client.json | 1 + packages/docusaurus-plugin-ideal-image/tsconfig.client.json | 1 + packages/docusaurus-plugin-pwa/tsconfig.client.json | 3 ++- packages/docusaurus-theme-common/tsconfig.json | 1 + packages/docusaurus-theme-live-codeblock/tsconfig.client.json | 3 ++- packages/docusaurus-theme-search-algolia/tsconfig.client.json | 3 ++- packages/docusaurus/tsconfig.client.json | 1 + 10 files changed, 13 insertions(+), 3 deletions(-) diff --git a/packages/docusaurus-plugin-content-docs/tsconfig.client.json b/packages/docusaurus-plugin-content-docs/tsconfig.client.json index e11f4fc55dd9..018e125eb75c 100644 --- a/packages/docusaurus-plugin-content-docs/tsconfig.client.json +++ b/packages/docusaurus-plugin-content-docs/tsconfig.client.json @@ -5,6 +5,7 @@ "incremental": true, "tsBuildInfoFile": "./lib/.tsbuildinfo-client", "module": "esnext", + "target": "esnext", "rootDir": "src", "outDir": "lib" }, diff --git a/packages/docusaurus-plugin-debug/tsconfig.client.json b/packages/docusaurus-plugin-debug/tsconfig.client.json index fa257cb48fc0..836fc6391ac5 100644 --- a/packages/docusaurus-plugin-debug/tsconfig.client.json +++ b/packages/docusaurus-plugin-debug/tsconfig.client.json @@ -5,6 +5,7 @@ "incremental": true, "tsBuildInfoFile": "./lib/.tsbuildinfo-client", "module": "esnext", + "target": "esnext", "rootDir": "src", "outDir": "lib" }, diff --git a/packages/docusaurus-plugin-google-analytics/tsconfig.client.json b/packages/docusaurus-plugin-google-analytics/tsconfig.client.json index 5552f405eaa8..3e8fdb9a0b8e 100644 --- a/packages/docusaurus-plugin-google-analytics/tsconfig.client.json +++ b/packages/docusaurus-plugin-google-analytics/tsconfig.client.json @@ -5,6 +5,7 @@ "incremental": true, "tsBuildInfoFile": "./lib/.tsbuildinfo-client", "module": "esnext", + "target": "esnext", "rootDir": "src", "outDir": "lib" }, diff --git a/packages/docusaurus-plugin-google-gtag/tsconfig.client.json b/packages/docusaurus-plugin-google-gtag/tsconfig.client.json index 5d20723701da..b00cb512062b 100644 --- a/packages/docusaurus-plugin-google-gtag/tsconfig.client.json +++ b/packages/docusaurus-plugin-google-gtag/tsconfig.client.json @@ -5,6 +5,7 @@ "incremental": true, "tsBuildInfoFile": "./lib/.tsbuildinfo-client", "module": "esnext", + "target": "esnext", "rootDir": "src", "outDir": "lib" }, diff --git a/packages/docusaurus-plugin-ideal-image/tsconfig.client.json b/packages/docusaurus-plugin-ideal-image/tsconfig.client.json index fa257cb48fc0..836fc6391ac5 100644 --- a/packages/docusaurus-plugin-ideal-image/tsconfig.client.json +++ b/packages/docusaurus-plugin-ideal-image/tsconfig.client.json @@ -5,6 +5,7 @@ "incremental": true, "tsBuildInfoFile": "./lib/.tsbuildinfo-client", "module": "esnext", + "target": "esnext", "rootDir": "src", "outDir": "lib" }, diff --git a/packages/docusaurus-plugin-pwa/tsconfig.client.json b/packages/docusaurus-plugin-pwa/tsconfig.client.json index 0320006b5fb1..bb29e4aa07e9 100644 --- a/packages/docusaurus-plugin-pwa/tsconfig.client.json +++ b/packages/docusaurus-plugin-pwa/tsconfig.client.json @@ -6,7 +6,8 @@ "tsBuildInfoFile": "./lib/.tsbuildinfo-client", "rootDir": "src", "outDir": "lib", - "module": "esnext" + "module": "esnext", + "target": "esnext" }, "include": [ "src/theme/", diff --git a/packages/docusaurus-theme-common/tsconfig.json b/packages/docusaurus-theme-common/tsconfig.json index 20c3d66f6411..a6f83d37f330 100644 --- a/packages/docusaurus-theme-common/tsconfig.json +++ b/packages/docusaurus-theme-common/tsconfig.json @@ -4,6 +4,7 @@ "incremental": true, "tsBuildInfoFile": "./lib/.tsbuildinfo", "module": "esnext", + "target": "esnext", "sourceMap": true, "declarationMap": true, "rootDir": "src", diff --git a/packages/docusaurus-theme-live-codeblock/tsconfig.client.json b/packages/docusaurus-theme-live-codeblock/tsconfig.client.json index 8b90974e09d7..1988ff0b3884 100644 --- a/packages/docusaurus-theme-live-codeblock/tsconfig.client.json +++ b/packages/docusaurus-theme-live-codeblock/tsconfig.client.json @@ -6,7 +6,8 @@ "tsBuildInfoFile": "./lib/.tsbuildinfo-client", "rootDir": "src", "outDir": "lib", - "module": "esnext" + "module": "esnext", + "target": "esnext" }, "include": ["src/theme", "src/*.d.ts", "src/custom-buble.ts"] } diff --git a/packages/docusaurus-theme-search-algolia/tsconfig.client.json b/packages/docusaurus-theme-search-algolia/tsconfig.client.json index e118250e425b..9e8321ca3deb 100644 --- a/packages/docusaurus-theme-search-algolia/tsconfig.client.json +++ b/packages/docusaurus-theme-search-algolia/tsconfig.client.json @@ -6,7 +6,8 @@ "tsBuildInfoFile": "./lib/.tsbuildinfo-client", "rootDir": "src", "outDir": "lib", - "module": "esnext" + "module": "esnext", + "target": "esnext" }, "include": ["src/theme", "src/client", "src/*.d.ts"] } diff --git a/packages/docusaurus/tsconfig.client.json b/packages/docusaurus/tsconfig.client.json index e11f4fc55dd9..018e125eb75c 100644 --- a/packages/docusaurus/tsconfig.client.json +++ b/packages/docusaurus/tsconfig.client.json @@ -5,6 +5,7 @@ "incremental": true, "tsBuildInfoFile": "./lib/.tsbuildinfo-client", "module": "esnext", + "target": "esnext", "rootDir": "src", "outDir": "lib" },