Exclude node_modules from shredding
This commit is contained in:
parent
bd2d915248
commit
8d71aee541
|
@ -88,6 +88,7 @@ function createShredPackage(shredOptions) {
|
||||||
readFilesProcessor.sourceFiles = [ {
|
readFilesProcessor.sourceFiles = [ {
|
||||||
// Process all candidate files in `src` and its subfolders ...
|
// Process all candidate files in `src` and its subfolders ...
|
||||||
include: includeFiles,
|
include: includeFiles,
|
||||||
|
exclude: ['**/node_modules/**'],
|
||||||
// When calculating the relative path to these files use this as the base path.
|
// 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`
|
// So `src/foo/bar.js` will have relative path of `foo/bar.js`
|
||||||
basePath: options.examplesDir
|
basePath: options.examplesDir
|
||||||
|
|
Loading…
Reference in New Issue