mirror of https://github.com/zulip/zulip.git
tsconfig: Enable composite.
This allows TypeScript to use incremental compilation by default. Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
parent
f03c56d9da
commit
1a8d8411a7
|
@ -27,6 +27,7 @@
|
|||
|
||||
## Byproducts of setting up and using the dev environment
|
||||
*.pyc
|
||||
*.tsbuildinfo
|
||||
package-lock.json
|
||||
|
||||
/.vagrant
|
||||
|
|
|
@ -28,6 +28,9 @@
|
|||
|
||||
/* Language and Environment */
|
||||
"target": "ESNext",
|
||||
|
||||
/* Projects */
|
||||
"composite": true,
|
||||
},
|
||||
"exclude": [
|
||||
// Type stubs are not part of the top-level project.
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
"version": "0.0.18",
|
||||
"license": "Apache-2.0",
|
||||
"scripts": {
|
||||
"prepare": "rm -rf lib && tsc && cp src/*.flow lib",
|
||||
"prepare": "tsc --build --clean && rm -rf lib && tsc && cp src/*.flow lib",
|
||||
"version": "tools/npm-version",
|
||||
"postversion": "tools/npm-postversion"
|
||||
},
|
||||
|
|
|
@ -29,6 +29,9 @@
|
|||
|
||||
/* Language and Environment */
|
||||
"target": "esnext",
|
||||
|
||||
/* Projects */
|
||||
"composite": true,
|
||||
},
|
||||
"include": ["src"],
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue