Skip to content

Commit

Permalink
Update website/docs/core-concepts/vendor/vendor-manifest.mdx
Browse files Browse the repository at this point in the history
Co-authored-by: Erik Osterman (CEO @ Cloud Posse) <[email protected]>
  • Loading branch information
Listener430 and osterman authored Feb 11, 2025
1 parent 6db3458 commit d2533a7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions website/docs/core-concepts/vendor/vendor-manifest.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -579,9 +579,9 @@ This excludes both:
Using `{...}` here prevents the need to write two separate exclusion rules.

Key Takeaways
1. Use `**/` for recursive matching to include everything inside a directory.
2. Use `*` for single-segment matches, which won't include deeper subdirectories.
3. Use `{...}` to match multiple extensions or directories within a single pattern.
4. Exclusion rules must match nested paths explicitly when trying to exclude deep directories.
1. Use `**/` for recursive matching to include everything inside a directory.
2. Use `*` for single-segment matches, which won't include deeper subdirectories.
3. Use `{...}` to match multiple extensions or directories within a single pattern.
4. Exclusion rules must match nested paths explicitly when trying to exclude deep directories.

By carefully combining `included_paths`, `excluded_paths`, and `{...}` expansion, you can precisely control which files are vendored while ensuring unwanted directories like stargazers are omitted.

0 comments on commit d2533a7

Please sign in to comment.