Skip to content

Commit

Permalink
[build] only strip public code, leave other assets (#79504)
Browse files Browse the repository at this point in the history
Co-authored-by: spalger <[email protected]>
  • Loading branch information
Spencer and spalger authored Oct 5, 2020
1 parent 3d0681b commit a08fe39
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/dev/build/tasks/copy_source_task.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export const CopySource: Task = {
'!src/dev/**',
'!src/setup_node_env/babel_register/index.js',
'!src/setup_node_env/babel_register/register.js',
'!**/public/**',
'!**/public/**/*.{js,ts,tsx,json}',
'typings/**',
'config/kibana.yml',
'config/node.options',
Expand Down
2 changes: 1 addition & 1 deletion x-pack/tasks/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ async function copySourceAndBabelify() {
'**/*.{test,test.mocks,mock,mocks}.*',
'**/*.d.ts',
'**/node_modules/**',
'**/public/**',
'**/public/**/*.{js,ts,tsx,json}',
'**/{__tests__,__mocks__,__snapshots__}/**',
'plugins/canvas/shareable_runtime/test/**',
],
Expand Down

0 comments on commit a08fe39

Please sign in to comment.