Last active
January 24, 2019 21:16
-
-
Save joshuawootonn/e3d70f10ba84e4bacf1e963a660a93bd to your computer and use it in GitHub Desktop.
Global Paths with TypeScript
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
NODE_PATH=src/ |
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
{ | |
"compilerOptions": { | |
"baseUrl": ".", | |
"paths": { | |
"svg/*": ["src/svg/*"], | |
"components/*": ["src/components/*"], | |
"containers/*": ["src/containers/*"], | |
"scenes/*": ["src/scenes/*"] | |
} | |
} | |
} |
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
{ | |
... | |
"extends": "./paths.json" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment