Last active
July 1, 2022 21:58
-
-
Save brokenmold/f10b36489a10df41d050a06ef578c727 to your computer and use it in GitHub Desktop.
Absolute Imports and Module Path Aliases
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
// tsconfig.json or jsconfig.json | |
{ | |
"compilerOptions": { | |
"baseUrl": ".", | |
"paths": { | |
"components/*": ["./pages/components/*"] | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment