[x-pack/build] exclude plugins/*/target when copying source to build (#99009) (#99108)

Co-authored-by: spalger <spalger@users.noreply.github.com>

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
This commit is contained in:
Kibana Machine 2021-05-03 17:38:31 -04:00 committed by GitHub
parent 8d19df19b8
commit abb829b678
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
],