Created
January 24, 2024 11:08
-
-
Save bennycode/04a3bfe9cc151d63242e8198e80e09d1 to your computer and use it in GitHub Desktop.
CommonJS TS Config
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": { | |
// Code | |
"rootDir": "src", // ⟵ In | |
"outDir": "dist", // ⟵ Out | |
// Syntax | |
"lib": ["ES2022"], // ← In | |
"target": "ES2022", // ← Out | |
// Modules | |
"moduleResolution": "node", // ⟵ In | |
"module": "commonjs", // ⟵ Out | |
// Type Checking Behaviour | |
"strict": true | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment