You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You're right - using absolute paths would be a simpler way to reference files outside the current directory.
Let me look into implementing this feature.
After some consideration, I think we can handle this case better by adding rootDirs to the config.
The include option is specifically designed for pattern matching within the root directories - it defines what files to include from each root directory (like **/*.ts to match TypeScript files).
Currently, you can specify root directories through CLI:
repomix /path/to/dir1 /path/to/dir2
What if we add support for the same functionality in the config file?
I understand what you’re getting at. Instead of using **dirname as the base name directly, you rely on the **dirname defined in repomix.config.json. That part makes sense.
However, I’m a bit confused about how the new rootDirs works—specifically, if I include something like "**/*.ts", wouldn’t it end up pulling in TypeScript files from all three projects when I only want those from Project 1?
Sometimes I need to reference files or directory outside current project, if I do this:
it outputs error:
The text was updated successfully, but these errors were encountered: