Skip to content

Commit

Permalink
Push todoApp/tsconfig updated for project references
Browse files Browse the repository at this point in the history
  • Loading branch information
sodic committed Jan 10, 2025
1 parent 79924a0 commit 4d3f95d
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions waspc/examples/todoApp/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
{
"compilerOptions": {
"module": "esnext",
"composite": true,
"target": "esnext",
// We're bundling all code in the end so this is the most appropriate option,
// it's also important for autocomplete to work properly.
Expand All @@ -20,6 +21,7 @@
"dom.iterable",
"esnext"
],
"skipLibCheck": true,
"allowJs": true,
"typeRoots": [
// This is needed to properly support Vitest testing with jest-dom matchers.
Expand All @@ -36,6 +38,15 @@
// compilation, the following directory doesn't exist. We need to specify
// it to prevent this error:
// https://stackoverflow.com/questions/42609768/typescript-error-cannot-write-file-because-it-would-overwrite-input-file
"outDir": ".wasp/phantom"
}
}
// "outDir": ".wasp/out/user"
"outDir": ".wasp/out/user",
// "baseUrl": ".",
// "paths": {
// "@components/*": ["src/components/*"],
// "@util": ["src/util.js"],
// }
},
"include": [
"src"
]
}

0 comments on commit 4d3f95d

Please sign in to comment.