Exclude node_modules from shredding

This commit is contained in:
Jay Traband 2015-09-11 02:00:42 -07:00
parent bd2d915248
commit 8d71aee541
1 changed files with 1 additions and 0 deletions

View File

@ -88,6 +88,7 @@ function createShredPackage(shredOptions) {
readFilesProcessor.sourceFiles = [ {
// Process all candidate files in `src` and its subfolders ...
include: includeFiles,
exclude: ['**/node_modules/**'],
// When calculating the relative path to these files use this as the base path.
// So `src/foo/bar.js` will have relative path of `foo/bar.js`
basePath: options.examplesDir