Comparing version 1.11.0 to 1.11.1
@@ -108,6 +108,7 @@ "use strict"; | ||
opts["workDir"] = opts["workDir"] || "."; | ||
const isMatch = picomatch(pattern); | ||
const isMatch = picomatch(pattern, {"dot": !opts["ignoreHidden"]}); | ||
const matchWithHidden = (entry) => { | ||
return isMatch(entry["path"]); | ||
}; | ||
// We don't use picomatch for hidden files, basename is more reliable. | ||
const matchWithoutHidden = (entry) => { | ||
@@ -114,0 +115,0 @@ const basename = path.basename(entry["path"]); |
{ | ||
"name": "hikarujs", | ||
"version": "1.11.0", | ||
"version": "1.11.1", | ||
"description": "A static site generator that generates routes based on directories naturally.", | ||
@@ -5,0 +5,0 @@ "main": "hikaru/index.js", |
119805
3383