Skip to content

conditional files / code generation. #100

Description

@vaukalak

suppose I have the following folder structure:

- FTName/
--- index.ts
--- [FTName].tsx
--- [FTName].tests.tsx
--- hooks.tsx

However, not all files need hooks.ts files and hence import in the [FTName].tsx. In theory, the work-around would be to create 2 templates. But in this case, I'll need to create a separate template for any specific scenario (suppose we'll have some optional files like utils, styles, and so on).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions