From 71702d058c96e1fa4555729c98d8ecd27ed31197 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Wed, 27 Jan 2016 01:18:45 -0800 Subject: [PATCH] Ignore more files. --- lib/fp/build-modules.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/lib/fp/build-modules.js b/lib/fp/build-modules.js index cc709082a..fedcf4de2 100644 --- a/lib/fp/build-modules.js +++ b/lib/fp/build-modules.js @@ -79,7 +79,13 @@ function build(target) { // Glob existing lodash module paths. var modulePaths = glob.sync(path.join(target, '*.js'), { 'nodir': true, - 'ignore': path.join(target, '_*.js') + 'ignore': [ + '_*.js', + 'core.js', + 'fp.js' + ].map(function(filename) { + return path.join(target, filename); + }) }); // Add FP alias and remapped module paths.