-
-
Save Sarghm/07140fcb4f835571af51b6f977a5e410 to your computer and use it in GitHub Desktop.
Minimal tsconfig.json file for React & TypeScript projects
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": { | |
"rootDir": "./src", | |
"outDir": "./build", | |
"esModuleInterop": true, | |
"jsx": "react", | |
"target": "es5", | |
"lib": [ | |
"dom", | |
"dom.iterable", | |
"esnext" | |
], | |
"skipLibCheck": true, | |
"allowSyntheticDefaultImports": true, | |
"strict": true, | |
"forceConsistentCasingInFileNames": true, | |
"module": "esnext", | |
"moduleResolution": "node", | |
"resolveJsonModule": true, | |
"isolatedModules": true, | |
"noEmit": true | |
}, | |
"include": [ | |
"./src/**/*" | |
], | |
"exclude": [ | |
"build" | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment