bencoveney / barrelsby

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use folders instead of index

dakotalightning opened this issue · comments

Is there a way to use the folder instead of the index.tsx?

export { default as button } from  `./component/atom/button`

## instead of 

export { default as index } from  `./component/atom/button/index`
commented

Hi @dakotalightning,

This is something that annoyed me with barrelsby, you are going to want to use the --delete flag or the delete: true option in the config to prevent that behavior.

This was something I had to figure out before I started contributing the project. Hope that helps!

No activity has been seen recently, marking as stale. If this is a mistake please reach out to a collaborator