Commit 221716a
authored
feat: implement glob pattern matching with last-match-wins semantics (#63)
- Add vite_glob crate for efficient glob pattern matching
- Implement GlobPatternSet with support for negated patterns (!)
- Follow gitignore-like semantics: last matching pattern wins
- Support workspace exclusion patterns in pnpm/npm/yarn workspaces
- Add comprehensive tests for various glob scenarios
🤖 Generated with [Claude Code](https://claude.ai/code)1 parent 4bbae48 commit 221716a
7 files changed
Lines changed: 549 additions & 112 deletions
File tree
- crates
- vite_glob
- src
- vite_package_manager
- src
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
| 94 | + | |
94 | 95 | | |
95 | 96 | | |
96 | 97 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
0 commit comments