From 40bb7f7e4ab307597ae2cb888d6a87eb8f96189d Mon Sep 17 00:00:00 2001 From: Hristo Deshev Date: Mon, 16 Nov 2015 12:02:40 +0200 Subject: [PATCH] Don't copy node_modules to out dir --- gruntfile.js | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/gruntfile.js b/gruntfile.js index 8094a9619..5e56b9b00 100644 --- a/gruntfile.js +++ b/gruntfile.js @@ -265,11 +265,12 @@ module.exports = function(grunt) { childPackageFiles: { expand: true, src: [ - localCfg.srcDir + "/**/package.json", - "!./package.json", - "!./Deploy/**/*.*", - "!./bin/**/*.*", - "!./Tests/**/*.*", + "**/package.json", + "!package.json", + "!Deploy/**/*.*", + "!bin/**/*.*", + "!Tests/**/*.*", + "!node_modules/**/*.*", "!" + localCfg.outDir + "/**/*.*" ], dest: localCfg.outModulesDir + "/"