Last active
October 3, 2019 09:08
-
-
Save devdbrandy/6be6931946dce7e6f50560d6709b566d to your computer and use it in GitHub Desktop.
A sample of code editor mappings for NodeJS module resolvers (custom alias)
This file contains hidden or 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": ".", | |
"target": "es6", | |
"module": "commonjs", | |
"paths": { | |
"@config/*": ["src/config/*"], | |
"@database/*": ["src/database/*"], | |
"@factories/*": ["src/database/factories/*"], | |
"@helpers/*": ["src/helpers/*"], | |
"@middlewares/*": ["src/middlewares/*"], | |
"@models/*": ["src/database/models/*"], | |
"@modules/*": ["src/modules/*"], | |
"@services/*": ["src/services/*"], | |
"@src/*": ["src/*"], | |
"@test/*": ["test/*"] | |
}, | |
}, | |
"exclude": [ | |
"node_modules", | |
"**/node_modules/*", | |
"dist" | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment