Skip to content

Commit 6527ee7

Browse files
author
Ilya Radchenko
authored
Ignore node_modules for metalsmith
Resolves docpress/docpress#113
1 parent 8b5d46d commit 6527ee7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/ms.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ function docpress (cwd, options) {
2121
.source('.')
2222
.destination(meta.dist)
2323
.metadata(meta)
24+
.ignore('node_modules')
2425
.ignore(`!**/{${meta.docs}{,/**/*},*.md}`)
2526

2627
return app

0 commit comments

Comments
 (0)