From 7f2521ab21c34fabf74f5187b2e6ede8e858da19 Mon Sep 17 00:00:00 2001 From: Andrew Plummer Date: Fri, 5 Aug 2016 05:51:08 +0900 Subject: [PATCH] also ignoring node_modules --- gulpfile.js | 1 + 1 file changed, 1 insertion(+) diff --git a/gulpfile.js b/gulpfile.js index 49a7a0ece..dd196c77b 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -1027,6 +1027,7 @@ function buildIgnoreFiles(packageName, packageDir) { // packages are built for now and should not exist in version control. paths.push('package.json'); paths.push('.npmignore'); + paths.push('node_modules'); writeFile(path.join(packageDir, '.gitignore'), paths.join('\n')); }