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
Is there a way to generate child directory barrels and have the parent directory export from the child barrel? Rather than mentioning all the exports in the main directory barrel.
Example
src/app/shared contains directories services and enums. Run barrelsby on src/app/shared and have it recursively generate barrels from bottom-up. So, this would generate barrel for src/app/shared/services then src/app/shared/ barrel will just be a:
export*from'./services';
While the child barrel (src/app/shared/services/index.ts) will contain all the individual exports like:
Hi,
Is there a way to generate child directory barrels and have the parent directory export from the child barrel? Rather than mentioning all the exports in the main directory barrel.
Example
src/app/shared
contains directoriesservices
andenums
. Runbarrelsby
onsrc/app/shared
and have it recursively generate barrels from bottom-up. So, this would generate barrel forsrc/app/shared/services
thensrc/app/shared/
barrel will just be a:While the child barrel (
src/app/shared/services/index.ts
) will contain all the individual exports like:Awesome job with the project 👍 .
Thanks
The text was updated successfully, but these errors were encountered: