From fd50111ea48bc5124e663ae363868fe12f4f5ffe Mon Sep 17 00:00:00 2001 From: Pascal Hartig Date: Fri, 29 May 2020 07:15:46 -0700 Subject: [PATCH] More aggressive build ignores Summary: This strips another 8MB from our node_modules. Checked out the largest individual files in with Disk Inventory X. {F238464588} Reviewed By: nikoant Differential Revision: D21765847 fbshipit-source-id: d74b0eae270b86f0518d7e73288fd773b24535da --- desktop/scripts/copy-package-with-dependencies.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/desktop/scripts/copy-package-with-dependencies.ts b/desktop/scripts/copy-package-with-dependencies.ts index 0aa847461..9a33e717e 100644 --- a/desktop/scripts/copy-package-with-dependencies.ts +++ b/desktop/scripts/copy-package-with-dependencies.ts @@ -17,6 +17,9 @@ const DEFAULT_BUILD_IGNORES = [ 'LICENSE*', '*.ts', '*.ls', + '*.flow', + '*.tsbuildinfo', + '*.map', 'Gruntfile*', ];