diff --git a/public/doc-shredder/doc-shredder.js b/public/doc-shredder/doc-shredder.js index 904fc2f59c..100b4c749e 100644 --- a/public/doc-shredder/doc-shredder.js +++ b/public/doc-shredder/doc-shredder.js @@ -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