Skip to content

Allow extensions other than .ts #323

@nicobrinkkemper

Description

@nicobrinkkemper

Is your feature request related to a problem? Please describe.
I use barrelsby for automatic file detection by compiler. This works well for .ts extension file, but typescript can also import other extension as valid files, such as .json.

Describe the solution you'd like
I want to allow different extensions, such as .json, to also be picked up by the barrelsby command.

Describe alternatives you've considered
Doing it by hand partially reduces the convenience of barrelsby, making you want to convert the json files in to ts. This shouldn't be needed as json can be imported perfectly fine if it is configured to do so.

Additional context

locals/en
- buttons.json
- menu.json
- index.ts <- generated

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions