From fbcdb78d1807846f2012e3a02c70825d6cbc6259 Mon Sep 17 00:00:00 2001 From: Sam Seay Date: Wed, 8 May 2024 09:53:56 +0800 Subject: [PATCH] Fix one more instance of unspecified include in tsconfig. (#47207) --- .../changelog/47207-dev-fix-experimental-tsconfig | 4 ++++ packages/js/experimental/tsconfig.json | 6 ++---- 2 files changed, 6 insertions(+), 4 deletions(-) create mode 100644 packages/js/experimental/changelog/47207-dev-fix-experimental-tsconfig diff --git a/packages/js/experimental/changelog/47207-dev-fix-experimental-tsconfig b/packages/js/experimental/changelog/47207-dev-fix-experimental-tsconfig new file mode 100644 index 00000000000..6bcc3eb4c14 --- /dev/null +++ b/packages/js/experimental/changelog/47207-dev-fix-experimental-tsconfig @@ -0,0 +1,4 @@ +Significance: patch +Type: dev +Comment: Fix a persistent build bug where TS would try compile files outside of src and typings in packages/js/experimental + diff --git a/packages/js/experimental/tsconfig.json b/packages/js/experimental/tsconfig.json index ab54a9b2d66..064c7643b18 100644 --- a/packages/js/experimental/tsconfig.json +++ b/packages/js/experimental/tsconfig.json @@ -1,5 +1,6 @@ { "extends": "../tsconfig", + "include": [ "src/", "typings/" ], "compilerOptions": { "rootDir": "src", "outDir": "build-module", @@ -7,9 +8,6 @@ "declaration": true, "declarationMap": true, "declarationDir": "./build-types", - "typeRoots": [ - "./typings", - "./node_modules/@types" - ] + "typeRoots": [ "./typings", "./node_modules/@types" ] } }