diff options
author | Kristóf Marussy <kristof@marussy.com> | 2021-12-23 16:04:18 +0100 |
---|---|---|
committer | Kristóf Marussy <kristof@marussy.com> | 2021-12-23 16:15:14 +0100 |
commit | 9d74dfdb7ab3f4ce06bab00ce685541293bd37a6 (patch) | |
tree | ba740551142d483ef975cc7ced2425986a58302b /packages/shared/tsconfig.json | |
parent | feat: Add react and mobx integration (diff) | |
download | sophie-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/shared/tsconfig.json')
-rw-r--r-- | packages/shared/tsconfig.json | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/packages/shared/tsconfig.json b/packages/shared/tsconfig.json index d441cc8..de75833 100644 --- a/packages/shared/tsconfig.json +++ b/packages/shared/tsconfig.json | |||
@@ -2,8 +2,7 @@ | |||
2 | "extends": "../../tsconfig.json", | 2 | "extends": "../../tsconfig.json", |
3 | "compilerOptions": { | 3 | "compilerOptions": { |
4 | "composite": true, | 4 | "composite": true, |
5 | "declaration": true, | 5 | "declarationDir": "dist-types", |
6 | "declarationDir": "dist", | ||
7 | "emitDeclarationOnly": true, | 6 | "emitDeclarationOnly": true, |
8 | "rootDir": "src" | 7 | "rootDir": "src" |
9 | }, | 8 | }, |