From 0c8e769c2a557a311a87d87baaf2ed56e0c8eb98 Mon Sep 17 00:00:00 2001 From: lilia Date: Wed, 26 Apr 2017 15:54:46 -0700 Subject: [PATCH] Exclude some build files from native modules In practice this removes about 1MB of extraneous build resoures from the spellchecker module in a packaged build. // FREEBIE --- package.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package.json b/package.json index 527be4165a..f4101b8e2a 100644 --- a/package.json +++ b/package.json @@ -96,6 +96,8 @@ "node_modules/**", "!**/node_modules/*/{CHANGELOG.md,README.md,README,readme.md,readme,test,__tests__,tests,powered-test,example,examples,*.d.ts}", "!**/node_modules/.bin", + "!**/node_modules/*/build/**", + "**/node_modules/*/build/**/*.node", "!**/*.{o,hprof,orig,pyc,pyo,rbc}", "!**/._*", "!**/{.DS_Store,.git,.hg,.svn,CVS,RCS,SCCS,__pycache__,thumbs.db,.gitignore,.gitattributes,.editorconfig,.flowconfig,.yarn-metadata.json,.idea,appveyor.yml,.travis.yml,circle.yml,npm-debug.log,.nyc_output,yarn.lock,.yarn-integrity}"