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

Add tsconfig-paths #1

Merged
merged 1 commit into from
Sep 7, 2020
Merged

Add tsconfig-paths #1

merged 1 commit into from
Sep 7, 2020

Conversation

alealvarez14
Copy link
Contributor

  • Add tsconfig-paths to fix issue with ts-node not being able to resolve relative paths
  • run yarn ts-node -r tsconfig-paths/register src/app.ts
  • Use @ notation

Copy link
Collaborator

@Alxzu Alxzu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

Copy link
Contributor

@martinjaimem martinjaimem left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👏

Copy link
Contributor

@martinjaimem martinjaimem left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👗

@alealvarez14 alealvarez14 merged commit 9d9416f into master Sep 7, 2020
@alealvarez14 alealvarez14 deleted the feature/add-tsconfig-paths branch September 7, 2020 20:16
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 this pull request may close these issues.

tsconfig.json/paths not working with ts-node
4 participants