chore: update TypeScript configuration and scripts (#9792)
- Added support for TypeScript incremental builds by enabling the `incremental` option and specifying the `tsBuildInfoFile` in both `tsconfig.node.json` and `tsconfig.web.json`. - Updated the `typecheck` script in `package.json` to use `concurrently` for running node and web type checks in parallel. - Added `.tsbuildinfo` to `.gitignore` to prevent build info files from being tracked.
This commit is contained in:
@@ -12,6 +12,8 @@
|
||||
],
|
||||
"compilerOptions": {
|
||||
"composite": true,
|
||||
"incremental": true,
|
||||
"tsBuildInfoFile": ".tsbuildinfo/tsconfig.web.tsbuildinfo",
|
||||
"jsx": "react-jsx",
|
||||
"baseUrl": ".",
|
||||
"moduleResolution": "bundler",
|
||||
|
||||
Reference in New Issue
Block a user