Skip to content

Commit

Permalink
Add expandDirectories: false (#166)
Browse files Browse the repository at this point in the history
  • Loading branch information
ziebam authored Sep 9, 2024
1 parent 615b2eb commit 7f4c823
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,10 @@ function processModulesForHotReloadRecursively(module, helpers) {

function loadGlobalMixin(helpers, globs) {
let cwd = process.cwd()
let files = globSync(globs, { caseSensitiveMatch: false })
let files = globSync(globs, {
caseSensitiveMatch: false,
expandDirectories: false
})
let mixins = {}
files.forEach(i => {
let ext = extname(i).toLowerCase()
Expand Down

0 comments on commit 7f4c823

Please sign in to comment.