From 9d74dfdb7ab3f4ce06bab00ce685541293bd37a6 Mon Sep 17 00:00:00 2001 From: Kristóf Marussy Date: Thu, 23 Dec 2021 16:04:18 +0100 Subject: 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. --- packages/shared/tsconfig.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'packages/shared/tsconfig.json') 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 @@ "extends": "../../tsconfig.json", "compilerOptions": { "composite": true, - "declaration": true, - "declarationDir": "dist", + "declarationDir": "dist-types", "emitDeclarationOnly": true, "rootDir": "src" }, -- cgit v1.2.3-70-g09d2