Skip to content

Commit

Permalink
chore: improve tsconfig (#180)
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgebodega authored Jun 22, 2024
1 parent d98ce04 commit 8a19b62
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
9 changes: 5 additions & 4 deletions tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
{
"extends": "./tsconfig.json",
"exclude": ["dist", "coverage", "examples", "jest.config.ts", "node_modules", "test"],
"compilerOptions": {
"declaration": true,
"importHelpers": true,
"outDir": "dist",
"sourceMap": true
}
"sourceMap": true,
"target": "ES2021"
},
"exclude": ["dist", "coverage", "examples", "jest.config.ts", "node_modules", "test"],
"extends": "./tsconfig.json"
}
8 changes: 4 additions & 4 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"exclude": ["dist", "coverage"],
"compilerOptions": {
"allowUnreachableCode": false,
"allowUnusedLabels": false,
Expand All @@ -11,8 +10,8 @@
"forceConsistentCasingInFileNames": true,
"isolatedModules": true,
"lib": ["es2023"],
"module": "es2022",
"moduleResolution": "Node",
"module": "node16",
"moduleResolution": "node16",
"noFallthroughCasesInSwitch": true,
"noImplicitOverride": true,
"noImplicitReturns": true,
Expand All @@ -23,5 +22,6 @@
"skipLibCheck": true,
"strict": true,
"target": "es2022"
}
},
"exclude": ["dist", "coverage"]
}

0 comments on commit 8a19b62

Please sign in to comment.