aboutsummaryrefslogtreecommitdiffstats
path: root/packages/renderer/tsconfig.json
diff options
context:
space:
mode:
authorLibravatar Kristóf Marussy <kristof@marussy.com>2021-12-23 16:04:18 +0100
committerLibravatar Kristóf Marussy <kristof@marussy.com>2021-12-23 16:15:14 +0100
commit9d74dfdb7ab3f4ce06bab00ce685541293bd37a6 (patch)
treeba740551142d483ef975cc7ced2425986a58302b /packages/renderer/tsconfig.json
parentfeat: Add react and mobx integration (diff)
downloadsophie-9d74dfdb7ab3f4ce06bab00ce685541293bd37a6.tar.gz
sophie-9d74dfdb7ab3f4ce06bab00ce685541293bd37a6.tar.zst
sophie-9d74dfdb7ab3f4ce06bab00ce685541293bd37a6.zip
build: Enable typescript composite mode and clean
Moves all typings to the dist-types directories from the dist directories so that we can let vite clean the dist directories on build without clobbering the typings generated by tsc.
Diffstat (limited to 'packages/renderer/tsconfig.json')
-rw-r--r--packages/renderer/tsconfig.json5
1 files changed, 4 insertions, 1 deletions
diff --git a/packages/renderer/tsconfig.json b/packages/renderer/tsconfig.json
index 8746462..998ed07 100644
--- a/packages/renderer/tsconfig.json
+++ b/packages/renderer/tsconfig.json
@@ -1,8 +1,11 @@
1{ 1{
2 "extends": "../../tsconfig.json", 2 "extends": "../../tsconfig.json",
3 "compilerOptions": { 3 "compilerOptions": {
4 "noEmit": true, 4 "composite": true,
5 "declarationDir": "dist-types",
6 "emitDeclarationOnly": true,
5 "jsx": "react", 7 "jsx": "react",
8 "rootDir": "src",
6 "lib": [ 9 "lib": [
7 "dom", 10 "dom",
8 "dom.iterable", 11 "dom.iterable",