Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Define extension into customTemplates #34

Closed
HenriqueOmena opened this issue Dec 27, 2020 · 0 comments · Fixed by #40
Closed

Define extension into customTemplates #34

HenriqueOmena opened this issue Dec 27, 2020 · 0 comments · Fixed by #40

Comments

@HenriqueOmena
Copy link

Hello i loved this project!!!

Describe the solution you'd like
i think some ppl use diferente kind of structure name into files, why not in customTemplate we can define the extension of the files ?

Describe alternatives you've considered
My suggestion are, we build more details then
instead

"customTemplates": {
  "style": "templates/component/style.styles.tsx"
},

we put someting liked that

"customTemplates": {
  "style": {
    "path": "templates/component/style.styles.tsx",
    "extension": "TemplateName.styles.tsx"
  }
},

then into contruction of component we gonna got
TemplanteName.styles.tsx instead TemplanteName.module.scss for styles

arminbro added a commit that referenced this issue Feb 16, 2021
This feature will allow for adding custom component file types (e.g., withIndex, withwithStoryStyle,
etc.)

#21 #22 #27 #34 #36 #37 #39
@arminbro arminbro linked a pull request Feb 17, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant