Skip to content

Commit 7f4c823

Browse files
authored
Add expandDirectories: false (#166)
1 parent 615b2eb commit 7f4c823

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

index.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,10 @@ function processModulesForHotReloadRecursively(module, helpers) {
4646

4747
function loadGlobalMixin(helpers, globs) {
4848
let cwd = process.cwd()
49-
let files = globSync(globs, { caseSensitiveMatch: false })
49+
let files = globSync(globs, {
50+
caseSensitiveMatch: false,
51+
expandDirectories: false
52+
})
5053
let mixins = {}
5154
files.forEach(i => {
5255
let ext = extname(i).toLowerCase()

0 commit comments

Comments
 (0)