Skip to content

Commit

Permalink
chore: updated TS configs
Browse files Browse the repository at this point in the history
  • Loading branch information
webdeveric committed Nov 19, 2023
1 parent 0e50055 commit da1b91f
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 2 additions & 0 deletions tsconfig.cjs.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
"extends": "./tsconfig.json",
"compilerOptions": {
"module": "commonjs",
"moduleResolution": "Node10",
"verbatimModuleSyntax": false,
"target": "ES2018",
"outDir": "./dist/cjs"
},
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"target": "ES2021",
"module": "NodeNext",
"moduleResolution": "NodeNext",
"verbatimModuleSyntax": true,
"strict": true,
"outDir": "./dist",
"downlevelIteration": true,
Expand All @@ -20,7 +21,6 @@
"allowUnreachableCode": false,
"noUnusedLocals": true,
"noUnusedParameters": true,
"importsNotUsedAsValues": "error",
"noErrorTruncation": true,
"exactOptionalPropertyTypes": true,
"noImplicitOverride": false,
Expand Down
1 change: 0 additions & 1 deletion tsconfig.mjs.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"module": "es2015",
"outDir": "./dist/mjs"
},
"include": ["src/**/*"],
Expand Down
1 change: 0 additions & 1 deletion tsconfig.project-files.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"module": "CommonJS",
"noEmit": true,
"allowJs": true
},
Expand Down

0 comments on commit da1b91f

Please sign in to comment.