-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Paths support in tsconfig #85
Comments
I would dig a "src/" or "app/" path alias of some form. Had back luck w/ path aliasing and monorepos tho so not sure if I'd want it to be the default 🤔 |
We won't implement this, a person brought it up on the discord server and we had decided that if someone is unfamiliar with paths, they will be really confused. If you want to, you can make the path alias on your own. We could also make this a prompt but is this really required? |
Appreciate your response guys! Thanks! |
Yeah agreed, I'm closing this now |
Sorry to necromance this but it's semi-related: what are your thoughts on having path aliases in the |
@juliusmarminge sorry to ping you, not sure if you saw the above comment. Since I think those aliases affect only the contributors and not the consumers maybe it's a different topic and the decision taken here does not apply? If you see fit I'll create a new issue to discuss how the aliases should be. |
Sorry didn't get notified of that.
Yeah do that and we can take it from there 👍 |
Is your feature request related to a problem? Please describe.
Currently all imports in scaffold are in a shape of
../../server/..something
, which makes it clunky and harder to read, in my opinion. I don't really know what others think on this point.Describe the solution you'd like
Would you accept a PR changing the
tsconfig.json
in template and respective file to use something like@server/db/..etc
instead of../../server/..etc
?Describe alternatives you've considered
Keep as is if there is a good reason why paths aliases aren't worth the scaffold
The text was updated successfully, but these errors were encountered: