bencoveney / barrelsby

Automatic TypeScript barrels (index.ts files) for your entire code base

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

index with only local modules - no subdirectories

mi4uu opened this issue · comments

commented

hi, it is possible ? I was trying with regexp, but without any luck. thx

Hi @lipt0n - Thanks for contributing

I don't think there is any setting that will help you to do this easily at the moment, however if you enable the --verbose flag it might help a bit with crafting a regexp.

We probably want a local or recursive flag/option that will allow this to be controlled.

commented

is this even possible by using only regexp?

Yes sorry, you are correct - it is not possible.

I am adding a local option to allow only local modules to be included.

Thanks again for contributing 😄