Skip to content

Commit

Permalink
[Task] #58, tsconfig for react folder
Browse files Browse the repository at this point in the history
  • Loading branch information
Type-Style committed Apr 5, 2024
1 parent 59f4414 commit f996348
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"workbench.editor.enablePreview": false,
"editor.rename.enablePreview": false
"editor.rename.enablePreview": false,
"typescript.tsdk": "node_modules\\typescript\\lib"
}
10 changes: 10 additions & 0 deletions src/client/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"lib": ["dom","ES6"],
"outDir": "../../dist/httpdocs",
"rootDir": "../../",
"jsx": "react",
},
"include": ["**/*.tsx", "**/*.ts"],
}
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"extends": "@tsconfig/node20/tsconfig.json",
"include": ["src/**/*"],
"exclude": ["node_modules"],
"exclude": ["node_modules", "src/client/"],
"compilerOptions": {
"rootDir": "src",
"outDir": "dist",
Expand Down

0 comments on commit f996348

Please sign in to comment.