Skip to content

Commit

Permalink
also ignoring node_modules
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewplummer committed Aug 4, 2016
1 parent 24478e3 commit 7f2521a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'));
}
Expand Down

0 comments on commit 7f2521a

Please sign in to comment.