Last active
August 12, 2020 14:34
-
-
Save vschoener/6268581a22ca3cfde57de687d1b5c792 to your computer and use it in GitHub Desktop.
tsconfig medium say-bye-to-relative-path
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
{ | |
"compilerOptions": { | |
"module": "commonjs", | |
"declaration": true, | |
"removeComments": true, | |
"emitDecoratorMetadata": true, | |
"experimentalDecorators": true, | |
"allowSyntheticDefaultImports": true, | |
"esModuleInterop": true, | |
"target": "es2019", | |
"sourceMap": true, | |
"lib": ["esnext", "dom"], | |
"outDir": "dist", | |
"baseUrl": "./", | |
"incremental": true, | |
// Change this paths keys | |
"paths": { | |
"@src/*": ["src/*"], | |
// Just as an example of what you can | |
"@services/*": ["src/services/*"], | |
// Or even cooler | |
"@/*": ["src/*"] | |
} | |
}, | |
"exclude": ["node_modules", "dist"] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment