Created
April 12, 2022 09:33
-
-
Save bennycode/8f768a942446a53e9773374081c351a2 to your computer and use it in GitHub Desktop.
General tsconfig that works with Node.js & React
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": { | |
"allowJs": true, | |
"allowSyntheticDefaultImports": true, | |
"alwaysStrict": true, | |
"declaration": false, | |
"downlevelIteration": true, | |
"emitDecoratorMetadata": true, | |
"esModuleInterop": true, | |
"experimentalDecorators": true, | |
"forceConsistentCasingInFileNames": true, | |
"jsx": "react", | |
"lib": [ | |
"dom", | |
"esnext", | |
"dom.iterable" | |
], | |
"module": "esnext", | |
"moduleResolution": "node", | |
"noEmitOnError": true, | |
"noImplicitAny": true, | |
"noImplicitReturns": true, | |
"noUnusedLocals": true, | |
"outDir": "dist", | |
"resolveJsonModule": true, | |
"rootDirs": [ | |
"src" | |
], | |
"sourceMap": true, | |
"target": "es2017" | |
}, | |
"exclude": [ | |
"node_modules" | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment