Skip to content

Commit

Permalink
refactor tsconfig to fix builds
Browse files Browse the repository at this point in the history
  • Loading branch information
bkendall committed Feb 6, 2025
1 parent 5e8cba4 commit 3d7f708
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 12 deletions.
12 changes: 12 additions & 0 deletions tsconfig.base.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"compilerOptions": {
"allowJs": true,
"declaration": true,
"module": "commonjs",
"moduleResolution": "Node",
"outDir": "lib",
"sourceMap": true,
"strict": true,
"target": "ES2020"
},
}
11 changes: 1 addition & 10 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,5 @@
{
"compilerOptions": {
"allowJs": true,
"declaration": true,
"module": "commonjs",
"moduleResolution": "Node",
"outDir": "lib",
"sourceMap": true,
"strict": true,
"target": "ES2020"
},
"extends": "./tsconfig.base.json",
"include": [
"examples/**/*",
"src/**/*",
Expand Down
7 changes: 5 additions & 2 deletions tsconfig.publish.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
{
"extends": "./tsconfig.json",
"extends": "./tsconfig.base.json",
"compilerOptions": {
"sourceMap": false
}
},
"include": [
"src/**/*"
]
}

0 comments on commit 3d7f708

Please sign in to comment.