Skip to content

Commit

Permalink
[build/x-pack] Exclude scss, test files and fixtures (#108986)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbudz authored Aug 17, 2021
1 parent 0f0a33c commit e9136e2
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions x-pack/tasks/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,13 @@ async function copySourceAndBabelify() {
buffer: true,
nodir: true,
ignore: [
'**/README.md',
'**/*.{md,asciidoc}',
'**/jest.config.js',
'**/*.{test,test.mocks,mock,mocks}.*',
'**/*.d.ts',
'**/node_modules/**',
'**/public/**/*.{js,ts,tsx,json}',
'**/{__tests__,__mocks__,__snapshots__}/**',
'**/public/**/*.{js,ts,tsx,json,scss}',
'**/{__tests__,__mocks__,__snapshots__,__fixtures__,__jest__,cypress}/**',
'plugins/*/target/**',
'plugins/canvas/shareable_runtime/test/**',
'plugins/telemetry_collection_xpack/schema/**', // Skip telemetry schemas
Expand Down

0 comments on commit e9136e2

Please sign in to comment.