build: tsconfig overhaul
This commit is contained in:
+19
-8
@@ -1,18 +1,29 @@
|
|||||||
{
|
{
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"target": "ES2021",
|
"esModuleInterop": true,
|
||||||
"module": "CommonJS",
|
"skipLibCheck": true,
|
||||||
"rootDir": "./src",
|
"target": "ES2022",
|
||||||
"moduleResolution": "Node",
|
"verbatimModuleSyntax": true,
|
||||||
// "sourceMap": true,
|
"allowJs": true,
|
||||||
|
"resolveJsonModule": true,
|
||||||
|
"moduleDetection": "force",
|
||||||
|
//
|
||||||
|
"strict": true,
|
||||||
|
// "noUncheckedIndexedAccess": true,
|
||||||
|
//
|
||||||
|
"moduleResolution": "NodeNext",
|
||||||
|
"module": "NodeNext",
|
||||||
"outDir": "./dist",
|
"outDir": "./dist",
|
||||||
|
"rootDir": "./src",
|
||||||
|
"sourceMap": true,
|
||||||
|
//
|
||||||
"declaration": true,
|
"declaration": true,
|
||||||
"removeComments": true,
|
"removeComments": true,
|
||||||
"esModuleInterop": true,
|
|
||||||
"forceConsistentCasingInFileNames": true,
|
"forceConsistentCasingInFileNames": true,
|
||||||
"strict": true,
|
|
||||||
"strictFunctionTypes": true,
|
"strictFunctionTypes": true,
|
||||||
"skipLibCheck": true
|
"lib": [
|
||||||
|
"ES2022"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"include": [
|
"include": [
|
||||||
"./src"
|
"./src"
|
||||||
|
|||||||
Reference in New Issue
Block a user