diff --git a/scripts/generate-clients/copy-to-clients.js b/scripts/generate-clients/copy-to-clients.js index 778647e8d251..aa34a0e832c0 100644 --- a/scripts/generate-clients/copy-to-clients.js +++ b/scripts/generate-clients/copy-to-clients.js @@ -140,11 +140,6 @@ const copyToClients = async (sourceDir, destinationDir) => { }; writeFileSync(destSubPath, JSON.stringify(typedocJson, null, 2).concat(`\n`)); } else if (overWritableSubs.includes(packageSub) || !existsSync(destSubPath)) { - if (packageSub === "tsconfig.json") { - const tsconfigPath = join(artifactPath, "tsconfig.json"); - const tsconfig = JSON.parse(readFileSync(tsconfigPath).toString()); - writeFileSync(destSubPath, JSON.stringify({ ...tsconfig, exclude: ["test/"] }, null, 2).concat(`\n`)); - } if (lstatSync(packageSubPath).isDirectory()) removeSync(destSubPath); copySync(packageSubPath, destSubPath, { overwrite: true,