This repository has been archived by the owner on Nov 13, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 44
Consider add gentype suffix to generate file name #86
Comments
See how things would look like in #87. |
Looks like |
I just opened the issue tab to discuss a similar problem for That would be especially useful in environments where you can't manipulate the resolver logic, like with |
@ryyppy added configuration option, e.g. |
This is now in master. |
wow. it is super fast. Thank you @cristianoc @ryyppy |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Current behavior
source file:
generate 2 files:
Motivation:
I don't want to add
Greeting.bs.js
andGreeting.tsx
to git repository. For.bs.js
files it is quite easy to add them to.gitignore
file. But for generated tsx files, there is no easy way to know which tsx file is generated bygenType
.Propose changes:
Greeting.tsx
toGreeting.xxx.tsx
. for example:Greeting.gentype.tsx
forGreeting.gt.tsx
ts
files alsoImpact:
The text was updated successfully, but these errors were encountered: