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
|
## Byproducts of setting up and using the dev environment
|
||||||
*.pyc
|
*.pyc
|
||||||
|
*.tsbuildinfo
|
||||||
package-lock.json
|
package-lock.json
|
||||||
|
|
||||||
/.vagrant
|
/.vagrant
|
||||||
|
|
|
@ -28,6 +28,9 @@
|
||||||
|
|
||||||
/* Language and Environment */
|
/* Language and Environment */
|
||||||
"target": "ESNext",
|
"target": "ESNext",
|
||||||
|
|
||||||
|
/* Projects */
|
||||||
|
"composite": true,
|
||||||
},
|
},
|
||||||
"exclude": [
|
"exclude": [
|
||||||
// Type stubs are not part of the top-level project.
|
// Type stubs are not part of the top-level project.
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
"version": "0.0.18",
|
"version": "0.0.18",
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"scripts": {
|
"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",
|
"version": "tools/npm-version",
|
||||||
"postversion": "tools/npm-postversion"
|
"postversion": "tools/npm-postversion"
|
||||||
},
|
},
|
||||||
|
|
|
@ -29,6 +29,9 @@
|
||||||
|
|
||||||
/* Language and Environment */
|
/* Language and Environment */
|
||||||
"target": "esnext",
|
"target": "esnext",
|
||||||
|
|
||||||
|
/* Projects */
|
||||||
|
"composite": true,
|
||||||
},
|
},
|
||||||
"include": ["src"],
|
"include": ["src"],
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue