Skip to content

Commit

Permalink
fix: split tsconfig for correct tsc build
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtemSBulgakov committed Sep 28, 2024
1 parent e6194f3 commit d5d0a8e
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 22 deletions.
23 changes: 23 additions & 0 deletions tsconfig.app.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"compilerOptions": {
"target": "esnext",
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
"strict": true,
"noEmit": true,
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "bundler",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "react-jsx",
"incremental": true,
"allowImportingTsExtensions": true,
"paths": {
"@/*": ["./src/*"],
"/public/*": ["./public/*"]
}
},
"include": ["src"]
}
27 changes: 5 additions & 22 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,7 @@
{
"compilerOptions": {
"target": "esnext",
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
"strict": true,
"noEmit": true,
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "bundler",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "react-jsx",
"incremental": true,
"allowImportingTsExtensions": true,
"paths": {
"@/*": ["./src/*"],
"/public/*": ["./public/*"]
}
},
"include": ["src"],
"references": [{ "path": "./tsconfig.node.json" }]
"references": [
{ "path": "./tsconfig.app.json" },
{ "path": "./tsconfig.node.json" }
],
"files": []
}

0 comments on commit d5d0a8e

Please sign in to comment.