Is it possible to extend the feature of recursive folder detection, that it also consider existing barrel files in the recursive folders?
This would simplify the barrel files, especially in higher hierarchy levels and there are less file changes in a commit because only the nearest existing index.ts would be change with the command Update Barrel and not all in the folder tree.
Example structure
- shared
- index.ts
- model
- index.ts
- user.ts
- person.ts
- address.ts
- service
- index.ts
- user.service.ts
- person.service.ts
Current 'shared/index.ts'
export * from './model/address';
export * from './model/person';
export * from './model/user';
export * from './service/person.service';
export * from './service/person.service';
Current 'shared/model/index.ts'
export * from './address';
export * from './person';
export * from './user';
Expected 'shared/index.ts'
export * from './model';
export * from './service';
Is it possible to extend the feature of recursive folder detection, that it also consider existing barrel files in the recursive folders?
This would simplify the barrel files, especially in higher hierarchy levels and there are less file changes in a commit because only the nearest existing
index.tswould be change with the commandUpdate Barreland not all in the folder tree.Example structure
Current 'shared/index.ts'
Current 'shared/model/index.ts'
Expected 'shared/index.ts'