build: tsconfig overhaul

This commit is contained in:
Ritesh Ghosh
2023-11-22 13:37:56 +05:30
parent 880e1c4994
commit 24d499b604
+19 -8
View File
@@ -1,18 +1,29 @@
{
"compilerOptions": {
"target": "ES2021",
"module": "CommonJS",
"rootDir": "./src",
"moduleResolution": "Node",
// "sourceMap": true,
"esModuleInterop": true,
"skipLibCheck": true,
"target": "ES2022",
"verbatimModuleSyntax": true,
"allowJs": true,
"resolveJsonModule": true,
"moduleDetection": "force",
//
"strict": true,
// "noUncheckedIndexedAccess": true,
//
"moduleResolution": "NodeNext",
"module": "NodeNext",
"outDir": "./dist",
"rootDir": "./src",
"sourceMap": true,
//
"declaration": true,
"removeComments": true,
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"strict": true,
"strictFunctionTypes": true,
"skipLibCheck": true
"lib": [
"ES2022"
]
},
"include": [
"./src"