Skip to content

Commit

Permalink
Ignore node_modules and .git when globbing (#168)
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperchupuDev authored Sep 26, 2024
1 parent 48124ab commit bf9cf91
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ function loadGlobalMixin(helpers, globs) {
let cwd = process.cwd()
let files = globSync(globs, {
caseSensitiveMatch: false,
expandDirectories: false
expandDirectories: false,
ignore: ['**/node_modules/**', '**/.git/**']
})
let mixins = {}
files.forEach(i => {
Expand Down

0 comments on commit bf9cf91

Please sign in to comment.