Skip to content

Commit

Permalink
Merge pull request #1720 from lp0124/fix-unocss-dot
Browse files Browse the repository at this point in the history
fix: unocss support with dot path
  • Loading branch information
hiyuki authored Nov 26, 2024
2 parents d9836f3 + 83ed0ee commit 6772474
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/unocss-plugin/lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ function normalizeRules (rules, root) {
}
rule = toPosix(rule)
return {
test: (file) => minimatch(file, rule)
test: (file) => minimatch(file, rule, { dot: true })
}
}
return false
Expand Down

0 comments on commit 6772474

Please sign in to comment.