Last active
November 4, 2020 19:52
-
-
Save hungrybluedev/bb30895fa9c77078f482147fc8308fc2 to your computer and use it in GitHub Desktop.
My Typescript compiler configuration file that I use across 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
{ | |
"include": ["./"], | |
"compilerOptions": { | |
"incremental": true, | |
"target": "ESNext", | |
"module": "ESNext", | |
"strict": true, | |
"removeComments": true, | |
"watch": true, | |
"outDir": "../js" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Suggestions
I generally put this file inside the
ts
directory and runtsc -w
inside that directory. That's why the outputjs
directory is a sibling of thets
directory, and theinclude
path is just the current directory.