Created
February 23, 2020 16:59
-
-
Save dchima/db2df1627e4c0557021828126f7897b1 to your computer and use it in GitHub Desktop.
optimal tsconfig setup
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
Show hidden characters
| { | |
| "compilerOptions": { | |
| "module": "commonjs", | |
| "resolveJsonModule": true, | |
| "esModuleInterop": true, | |
| "lib": ["es6", "dom"], | |
| "allowSyntheticDefaultImports": true, | |
| "rootDir": ".", | |
| "noEmit": true, | |
| "target": "es6", | |
| "noImplicitAny": true, | |
| "moduleResolution": "node", | |
| "sourceMap": true, | |
| "outDir": "dist", | |
| "baseUrl": ".", | |
| "strict": true, | |
| "typeRoots": [ | |
| "node_modules/@types" | |
| ], | |
| "paths": { | |
| "*": [ | |
| "node_modules/*", | |
| "src/types/*" | |
| ], | |
| "@/*": ["src/*"] | |
| } | |
| }, | |
| "include": [ | |
| "src", | |
| "src/**/*.ts" | |
| ], | |
| "exclude": [ | |
| "node_modules" | |
| ] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment