From abb829b678dceaee6d9bb7911aaf725b98d61cc1 Mon Sep 17 00:00:00 2001 From: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Date: Mon, 3 May 2021 17:38:31 -0400 Subject: [PATCH] [x-pack/build] exclude plugins/*/target when copying source to build (#99009) (#99108) Co-authored-by: spalger Co-authored-by: Spencer Co-authored-by: spalger --- x-pack/tasks/build.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/x-pack/tasks/build.ts b/x-pack/tasks/build.ts index 1b52b073b3ce..96ec1c22687d 100644 --- a/x-pack/tasks/build.ts +++ b/x-pack/tasks/build.ts @@ -76,6 +76,7 @@ async function copySourceAndBabelify() { '**/node_modules/**', '**/public/**/*.{js,ts,tsx,json}', '**/{__tests__,__mocks__,__snapshots__}/**', + 'plugins/*/target/**', 'plugins/canvas/shareable_runtime/test/**', 'plugins/telemetry_collection_xpack/schema/**', // Skip telemetry schemas ],